主题 : weblogic部署时出错
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
31#   发表于:2019-01-21 16:30:13  IP:117.93.*.*
回复第30楼web.xml
每天告诉自己一次,“我真的很不错”。
级别: 解元
UID: 110317
积分:251 加为好友
威望: 22 精华: 0
主题:30 回复:140
注册时间:2017-02-07
在线时长:0
32#   发表于:2019-01-21 16:35:49  IP:223.67.*.*
这个是v9版本的?
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
33#   发表于:2019-01-21 16:37:50  IP:117.93.*.*
对   您是要8.1的?
每天告诉自己一次,“我真的很不错”。
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
34#   发表于:2019-01-21 16:38:28  IP:117.93.*.*
那您稍等下    我这边去拿下8.1的web.xml
每天告诉自己一次,“我真的很不错”。
级别: 解元
UID: 110317
积分:251 加为好友
威望: 22 精华: 0
主题:30 回复:140
注册时间:2017-02-07
在线时长:0
35#   发表于:2019-01-21 16:39:01  IP:223.67.*.*
是啊  我这边是8.1的啊。。
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
36#   发表于:2019-01-21 16:40:37  IP:117.93.*.*
好的   您稍等下   我这边让同事发我份8.1的源码   然后我吧web.xml发您
每天告诉自己一次,“我真的很不错”。
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
37#   发表于:2019-01-21 16:44:04  IP:117.93.*.*
回复第35楼web.xml
您好  这个是8.1版本的xml文件了
每天告诉自己一次,“我真的很不错”。
级别: 解元
UID: 110317
积分:251 加为好友
威望: 22 精华: 0
主题:30 回复:140
注册时间:2017-02-07
在线时长:0
38#   发表于:2019-01-22 12:34:11  IP:223.67.*.*
谢谢版主,用了你给的web.xml,已经可以成功部署了,但是现在只能访问cms后台,访问前台页面的话会报模板找不到的错误。。

org.springframework.context.ApplicationContextException: Could not load FreeMarker template for URL [/WEB-INF/t/cms/www/default/index/index.html]; nested exception is freemarker.template.TemplateNotFoundException: Template not found for name "/WEB-INF/t/cms/www/default/index/index.html".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="/home/weblogic/Oracle/Middleware/user_projects/domains/rsj_domain/servers/AdminServer/tmp/_WL_user/rsjcmsv8/fl63gu/war", canonicalBasePath="/home/weblogic/Oracle/Middleware/user_projects/domains/rsj_domain/servers/AdminServer/tmp/_WL_user/rsjcmsv8/fl63gu/war/"), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.checkTemplate(SimpleFreeMarkerView.java:102)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.initApplicationContext(SimpleFreeMarkerView.java:79)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:120)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:76)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:74)
Truncated. see log file for complete stacktrace
Caused By: freemarker.template.TemplateNotFoundException: Template not found for name "/WEB-INF/t/cms/www/default/index/index.html".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="/home/weblogic/Oracle/Middleware/user_projects/domains/rsj_domain/servers/AdminServer/tmp/_WL_user/rsjcmsv8/fl63gu/war", canonicalBasePath="/home/weblogic/Oracle/Middleware/user_projects/domains/rsj_domain/servers/AdminServer/tmp/_WL_user/rsjcmsv8/fl63gu/war/"), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
at freemarker.template.Configuration.getTemplate(Configuration.java:2430)
at freemarker.template.Configuration.getTemplate(Configuration.java:2232)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.checkTemplate(SimpleFreeMarkerView.java:96)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.initApplicationContext(SimpleFreeMarkerView.java:79)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:120)
Truncated. see log file for complete stacktrace
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
39#   发表于:2019-01-22 13:31:05  IP:117.93.*.*
您看下您部署的项目中有没有index.html或者直接访问呢您的前台页面试下
每天告诉自己一次,“我真的很不错”。
级别: 解元
UID: 110317
积分:251 加为好友
威望: 22 精华: 0
主题:30 回复:140
注册时间:2017-02-07
在线时长:0
40#   发表于:2019-01-22 14:58:20  IP:223.67.*.*
有index.html的   并且在tomcat上面运行是正常的
|< < 1 2 3 4 5 6 > >| 共6页