为了账号安全,请及时绑定邮箱和手机立即绑定

无法启动tomcat并报错:java.lang.Error:...跪求大神指点

无法启动tomcat并报错:java.lang.Error:...跪求大神指点

九州编程 2019-03-01 11:17:54
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 回答

?
侃侃尔雅

TA贡献1801条经验 获得超16个赞

java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?

查看完整回答
反对 回复 2019-03-01
?
慕妹3146593

TA贡献1820条经验 获得超9个赞

web.xml 注册:

<listener>
   <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
查看完整回答
反对 回复 2019-03-01
  • 3 回答
  • 0 关注
  • 811 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信