以下是啟動是的錯誤信息:
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)
不知道該怎麼解決,請各位指點啊。。。。
貼出來的錯誤信息不全,現在問題解決了,貼出來供大家參考:
補上的報錯信息
嚴重: The web application [/CHJ_G4] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
有一堆的這樣的嚴重錯誤
最後Google加百度,也沒能找到具體的原因,根據查到的資料將tomcat server.xml裡兩個監聽器注釋掉,現在項目可以正常運行。
只是其中道理還是一頭霧水
下面是我注釋掉的內容