无法启动tomcat并报错:java.lang.Error:...跪求大神指点
怪我咯
怪我咯 2017-04-18 10:51:42
0
3
660

eclipse启动tomcat控制台报错,无法启动tomcat,本人菜鸟求大神指点:
控制台:

2017-03-22 17:45:07,534 [ERROR] ==== main: com.sky.bird.framework.plugin.core.context.PluginContextLoader.initPluginContext(46)
    插件工厂初始化失败

java.lang.Error: Unresolved compilation problem: 

    at com.sky.bird.util.MD5Util.getMD5String(MD5Util.java:64)
    at com.sky.bird.framework.service.plugin.util.PluginParameter.init(PluginParameter.java:40)
    at com.sky.bird.framework.service.plugin.util.PluginParameter.<clinit>(PluginParameter.java:25)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.sky.bird.framework.util.PluginStarter.<clinit>(PluginStarter.java:9)
    at com.sky.bird.framework.service.plugin.loader.XmlApplicationPluginContext.<init>(XmlApplicationPluginContext.java:29)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sky.bird.framework.plugin.core.context.PluginContextLoader.getConfigBean(PluginContextLoader.java:90)
    at com.sky.bird.framework.plugin.core.context.PluginContextLoader.getApplicationContext(PluginContextLoader.java:79)
    at com.sky.bird.framework.plugin.core.context.PluginContextLoader.createPluginContext(PluginContextLoader.java:56)
    at com.sky.bird.framework.plugin.core.context.PluginContextLoader.initPluginContext(PluginContextLoader.java:38)
    at com.sky.bird.framework.plugin.core.context.PluginContextLoader.initPluginContext(PluginContextLoader.java:29)
    at com.sky.bird.framework.plugin.loader.PluginContextLoaderListener.contextInitialized(PluginContextLoaderListener.java:30)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
三月 22, 2017 5:45:07 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.acegisecurity.ui.session.HttpSessionEventPublisher
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
    at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:70)
    at org.acegisecurity.ui.session.HttpSessionEventPublisher.contextInitialized(HttpSessionEventPublisher.java:76)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

三月 22, 2017 5:45:07 下午 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
三月 22, 2017 5:45:07 下午 org.apache.catalina.core.StandardContext start
严重: Context [/oa3.6] startup failed due to previous errors
三月 22, 2017 5:45:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/oa3.6] registered the JDBC driver [com.ibm.db2.jcc.DB2Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
三月 22, 2017 5:45:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/oa3.6] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
三月 22, 2017 5:45:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/oa3.6] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
三月 22, 2017 5:45:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/oa3.6] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
三月 22, 2017 5:45:07 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
三月 22, 2017 5:45:07 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
三月 22, 2017 5:45:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
三月 22, 2017 5:45:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
三月 22, 2017 5:45:07 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
三月 22, 2017 5:45:07 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
三月 22, 2017 5:45:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
三月 22, 2017 5:45:07 下午 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
三月 22, 2017 5:45:08 下午 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
三月 22, 2017 5:45:08 下午 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/23  config=null
三月 22, 2017 5:45:08 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3104 ms
怪我咯
怪我咯

走同样的路,发现不同的人生

全部回覆(3)
Peter_Zhu

java.lang.IllegalStateException:未找到 WebApplicationContext:未註冊 ContextLoaderListener?

小葫芦

java.lang.Error:未解決的編譯問題:

雷雷
阿神

web.xml 註冊:

<listener>
   <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板