首页 新闻 赞助 找找看

tomcat 错误 救命啊

0
悬赏园豆:30 [待解决问题]

2010-8-21 18:48:26 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: D:\Program Files\Java\jdk1.6.0_05\bin;D:\Program Files\apache-tomcat-6.0.24\bin
2010-8-21 18:48:26 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-8-21 18:48:26 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 365 ms
2010-8-21 18:48:26 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-8-21 18:48:26 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.24
2010-8-21 18:48:26 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2010-8-21 18:48:26 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2010-8-21 18:48:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2010-8-21 18:48:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2010-8-21 18:48:27 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2010-8-21 18:48:27 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2010-8-21 18:48:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2010-8-21 18:48:27 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory webtest
2010-8-21 18:48:27 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
 at com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:221)
 at com.sun.faces.config.WebConfiguration.<init>(WebConfiguration.java:82)
 at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:152)
 at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:279)
 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
 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.deployDirectory(HostConfig.java:1041)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
 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:593)
 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:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2010-8-21 18:48:27 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2010-8-21 18:48:27 org.apache.catalina.core.StandardContext start
严重: Context [/webtest] startup failed due to previous errors
2010-8-21 18:48:27 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: A web application created a ThreadLocal with key of type [null] (value [com.sun.faces.config.ConfigureListener$1@13d422d]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

dyh333的主页 dyh333 | 初学一级 | 园豆:165
提问于:2010-08-21 18:45
< >
分享
所有回答(2)
0

在D:\Program Files\Java\jdk1.6.0_05\bin或者D:\Program Files\apache-tomcat-6.0.24\bin 目录下找不到

Apache Portable Runtime 的相关组件。

Launcher | 园豆:45045 (高人七级) | 2010-08-21 19:06
0

你tomcat下lib文件夹里面有jar包坏了?下个新的Tomcat试试吧.

Jerry Young | 园豆:435 (菜鸟二级) | 2010-09-16 01:25
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册