我下载的是开源的v7jeecms项目,我用MyEclipse 打包在tomcat中没有问题,但是打成war包在weblogic中 访问报下面错误
org.springframework.context.ApplicationContextException: Could not load FreeMarker template for URL [/WEB-INF/t/cms/www/default/common/page_not_found.html]; nested exception is java.io.FileNotFoundException: Template "/WEB-INF/t/cms/www/default/common/page_not_found.html" not found.
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.checkTemplate(SimpleFreeMarkerView.java:99)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.initApplicationContext(SimpleFreeMarkerView.java:76)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
Truncated. see log file for complete stacktrace
java.io.FileNotFoundException: Template "/WEB-INF/t/cms/www/default/common/page_not_found.html" not found.
at freemarker.template.Configuration.getTemplate(Configuration.java:742)
at freemarker.template.Configuration.getTemplate(Configuration.java:665)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.checkTemplate(SimpleFreeMarkerView.java:93)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.initApplicationContext(SimpleFreeMarkerView.java:76)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)
Truncated. see log file for complete stacktrace
>
是不是因为没有授权 只能在tomcat中使用吗?
|
|