问题描述
- 把一个项目import到eclipse下,启动tomcat,就报了这样的错误
-
六月 19, 2015 5:29:53 下午 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.
六月 19, 2015 5:29:53 下午 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
六月 19, 2015 5:29:54 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
六月 19, 2015 5:29:54 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
六月 19, 2015 5:29:54 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
六月 19, 2015 5:29:54 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1029 ms
六月 19, 2015 5:29:54 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
六月 19, 2015 5:29:54 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.52
六月 19, 2015 5:29:54 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52confCatalinalocalhostcore.xml
六月 19, 2015 5:29:57 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
六月 19, 2015 5:29:57 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class cn.com.inno.core.web.FwWebAppRootListener
java.lang.ClassNotFoundException: cn.com.inno.core.web.FwWebAppRootListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)六月 19, 2015 5:29:57 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class cn.com.inno.core.log.FwLog4jConfigListener
java.lang.ClassNotFoundException: cn.com.inno.core.log.FwLog4jConfigListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)六月 19, 2015 5:29:58 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
六月 19, 2015 5:29:58 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
六月 19, 2015 5:29:58 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/core] startup failed due to previous errors
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52webappsdocs
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52webappsexamples
六月 19, 2015 5:29:58 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
六月 19, 2015 5:29:58 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
六月 19, 2015 5:29:58 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@ceb7c5')
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52webappshost-manager
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52webappsmanager
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52webappsROOT
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:downloadsoftwareapache-tomcat-x86_veryhuo.comapache-tomcat-7.0.52webappsWeixinerweima
六月 19, 2015 5:29:58 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
六月 19, 2015 5:29:58 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
六月 19, 2015 5:29:58 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3727 ms
解决方案
java.lang.ClassNotFoundException: cn.com.inno.core.log.FwLog4jConfigListener 找不类
解决方案二:
cn.com.inno.core.web.FwWebAppRootListener这个类也找不到