主题 : 部署在meclipse时候启动不报错,后台登入的时候报错
级别: 商业授权用户
UID: 92265
积分:543 加为好友
威望: 3 精华: 0
主题:62 回复:420
注册时间:2016-09-06
在线时长:0
1#   发表于:2017-03-24 13:49:02  IP:49.129.*.*
09:52:28.516 ERROR freemarker.runtime - Error executing FreeMarker template
freemarker.template.TemplateModelException: Method public java.lang.String org.springframework.web.servlet.support.RequestContext.getMessage(java.lang.String) throws org.springframework.context.NoSuchMessageException threw an exception when invoked on org.springframework.web.servlet.support.RequestContext object "org.springframework.web.servlet.support.RequestContext@7a9720" with arguments of types [java.lang.String,]. See cause exception.

The failing instruction (print stack trace for 1 more):
==> ${springMacroRequestContext.getMessag...  [in template "ftl/spring.ftl" in macro "m" at line 8, column 16]
at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:133) ~[freemarker.jar:2.3.20]
环境:win7  jdk1.6   tomcat6.0
级别: 总版主
UID: 10736
积分:148515 加为好友
威望: 205 精华: 42
主题:287 回复:126217
注册时间:2010-09-08
在线时长:18.01
2#   发表于:2017-03-24 13:52:17  IP:115.78.*.*
后台能正常登陆么
路漫漫其修远兮,吾将上下而求索!
级别: 商业授权用户
UID: 92265
积分:543 加为好友
威望: 3 精华: 0
主题:62 回复:420
注册时间:2016-09-06
在线时长:0
3#   发表于:2017-03-24 13:55:15  IP:49.129.*.*
不能
级别: 总版主
UID: 10736
积分:148515 加为好友
威望: 205 精华: 42
主题:287 回复:126217
注册时间:2010-09-08
在线时长:18.01
4#   发表于:2017-03-24 13:56:16  IP:115.78.*.*
启动信息发下
路漫漫其修远兮,吾将上下而求索!
级别: 商业授权用户
UID: 92265
积分:543 加为好友
威望: 3 精华: 0
主题:62 回复:420
注册时间:2016-09-06
在线时长:0
5#   发表于:2017-03-24 13:59:04  IP:49.129.*.*
2017-3-24 9:50:14 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'JeeCmsAdmin'
2017-3-24 9:50:29 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'JeeCmsFront'
2017-3-24 9:50:31 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
2017-3-24 9:50:31 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2017-3-24 9:50:31 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/44  config=null
2017-3-24 9:50:31 org.apache.catalina.startup.Catalina start
信息: Server startup in 72266 ms
级别: 总版主
UID: 10736
积分:148515 加为好友
威望: 205 精华: 42
主题:287 回复:126217
注册时间:2010-09-08
在线时长:18.01
6#   发表于:2017-03-24 14:00:37  IP:115.78.*.*
没有完整的启动信息吗?你那应该还有一个openoffice转换的提示呢?
路漫漫其修远兮,吾将上下而求索!
级别: 商业授权用户
UID: 92265
积分:543 加为好友
威望: 3 精华: 0
主题:62 回复:420
注册时间:2016-09-06
在线时长:0
7#   发表于:2017-03-24 14:02:19  IP:49.129.*.*
2017-3-24 9:49:19 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jdk1.6.0_10\jdk1.6.0_10\bin;E:\apache-tomcat-6.0.30\bin
2017-3-24 9:49:19 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8888
2017-3-24 9:49:19 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 543 ms
2017-3-24 9:49:19 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2017-3-24 9:49:19 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.30
2017-3-24 9:49:19 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor update.xml
2017-3-24 9:49:19 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\eclipse\workspace\ggfw\WebRoot\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2017-03-24 09:49:20,753  INFO  com.wonders.framework.log4j.Log4jInit:42 - Initial log4j successful...
2017-03-24 09:49:20,828  INFO  org.apache.struts.util.PropertyMessageResources:127 - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2017-03-24 09:49:20,829  INFO  org.apache.struts.util.PropertyMessageResources:127 - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2017-3-24 9:49:21 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory jeecms
2017-3-24 9:49:28 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
鍑嗗鍚姩鏈嶅姟....
office杞崲鏈嶅姟鍚姩澶辫触!璇︾粏淇℃伅:java.lang.IllegalArgumentException: officeHome must exist and be a directory
-------------------E:\apache-tomcat-6.0.30\webapps\jeecms\home\lucene
2017-3-24 9:50:14 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'JeeCmsAdmin'
2017-3-24 9:50:29 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'JeeCmsFront'
2017-3-24 9:50:31 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
2017-3-24 9:50:31 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2017-3-24 9:50:31 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/44  config=null
2017-3-24 9:50:31 org.apache.catalina.startup.Catalina start
信息: Server startup in 72266 ms
级别: 总版主
UID: 10736
积分:148515 加为好友
威望: 205 精华: 42
主题:287 回复:126217
注册时间:2010-09-08
在线时长:18.01
8#   发表于:2017-03-24 14:04:56  IP:115.78.*.*
你那应该你环境有问题吧,中文都读取不到乱码了,myeclispe设置了编码格式没有
路漫漫其修远兮,吾将上下而求索!
级别: 商业授权用户
UID: 92265
积分:543 加为好友
威望: 3 精华: 0
主题:62 回复:420
注册时间:2016-09-06
在线时长:0
9#   发表于:2017-03-24 14:08:13  IP:49.129.*.*
GBK格式
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
10#   发表于:2017-03-24 14:10:05  IP:115.78.*.*
改成utf-8编码
1
1 2 > >| 共2页