MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » [tomcat启动报错] 严重: Error configuring applica

[tomcat启动报错] 严重: Error configuring application listener of class .该如何处理

www.MyException.Cn  网友分享于:2013-01-11  浏览:282次
[tomcat启动报错] 严重: Error configuring application listener of class ...
问题描述:
  现有两个工程A、B,其中A为web工程,B为java工程。B工程包含一些共用类。
  把B工程打成jar包,A工程通过buildpath引入b.jar。

  使用eclipse3.6 + tomcat6.0插件的方式进行开发。

  启动tomcat发布A工程之后,报错如下:
2011-2-18 10:18:55 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:\CommonTools\Java\jdk1.5.0_22\bin;.;C:\Windows\system32;C:\Windows;C:\CommonTools\Java\jdk1.5.0_22\jre\bin;C:/CommonTools/Java/jre6/bin/client;C:/CommonTools/Java/jre6/bin;C:/CommonTools/Java/jre6/lib/i386;C:\oracle\ora90\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\j2sdk1.4.2\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\CommonTools\UnixUtils\bin;C:\CommonTools\UnixUtils\usr\local\wbin;C:\CommonTools\Vim\vim72;C:\CommonTools\Java\jad.exe;C:\CommonTools\MinGW\bin;C:\Program Files\GTK2-Runtime\bin;C:\Program Files\SinoVoice\jTTS 5.0 Desktop\Bin;E:\STUDY_JAVA_JAR\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin;C:\CommonTools\TortoiseSVN\bin
2011-2-18 10:18:55 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2011-2-18 10:18:55 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 529 ms
2011-2-18 10:18:55 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-2-18 10:18:55 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2011-2-18 10:18:55 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class com.mycop.spring.ContextHolderListener
java.lang.ClassNotFoundException: com.mycop.spring.ContextHolderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3877)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有