以下是启动是的错误信息:
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 21, 2015 4:26:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 21, 2015 4:26:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/26 config=null
Jan 21, 2015 4:26:24 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 16024 ms
Jan 21, 2015 4:26:28 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.springframework.core.NestedExceptionUtils. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1566)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.springframework.core.NestedRuntimeException.getMessage(NestedRuntimeException.java:67)
at ch.qos.logback.classic.spi.ThrowableInformation.extractStringRep(ThrowableInformation.java:50)
at ch.qos.logback.classic.spi.ThrowableInformation.(ThrowableInformation.java:24)
at ch.qos.logback.classic.spi.LoggingEvent.(LoggingEvent.java:111)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:485)
at ch.qos.logback.classic.Logger.filterAndLog(Logger.java:479)
at ch.qos.logback.classic.Logger.info(Logger.java:585)
at com.xsc.lottery.task.ticket.TicketTreatmentWork$3.run(TicketTreatmentWork.java:410)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
不知道该怎么解决,请各位指点啊。。。。
贴出来的错误信息不全,现在问题解决了,贴出来供大家参考:
补上的报错信息
严重:Thewebapplication[/CHJ_G4]appearstohavestartedathreadnamed[Timer-0]buthasfailedtostopit.Thisisverylikelytocreateamemoryleak.
有一堆的这样的严重错误
最后Google加百度,也没能找到具体的原因,根据查到的资料将tomcatserver.xml里两个监听器注释掉,现在项目可以正常运行。
只是其中道理还是一头雾水
下面是我注释掉的内容
org.springframework.core.NestedExceptionUtils没法加载,你的spring有没有部署对
加载出错了,包有没有安装好
贴出来的错误信息不全,现在问题解决了,贴出来供大家参考:
补上的报错信息
严重:Thewebapplication[/CHJ_G4]appearstohavestartedathreadnamed[Timer-0]buthasfailedtostopit.Thisisverylikelytocreateamemoryleak.
有一堆的这样的严重错误
最后Google加百度,也没能找到具体的原因,根据查到的资料将tomcatserver.xml里两个监听器注释掉,现在项目可以正常运行。
只是其中道理还是一头雾水
下面是我注释掉的内容
你注释的是什么啊,没看到啊
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。