2 u011531803 u011531803 于 2016.04.07 14:40 提问

tomcat启动错误,是怎么回事啊

2016-4-7 14:34:57 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter struts2

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

2016-4-7 14:34:57 org.apache.catalina.core.StandardContext start

严重: Error filterStart

2016-4-7 14:34:57 org.apache.catalina.core.StandardContext start

严重: Context [/Spring_3300_Registration_11] startup failed due to previous errors

2016-4-7 14:34:57 org.apache.catalina.core.ApplicationContext log

信息: Closing Spring root WebApplicationContext

log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

2016-4-7 14:34:58 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory Struts2_0100_Introduction

2016-4-7 14:34:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info

信息: Parsing configuration file [struts-default.xml]

2016-4-7 14:34:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info

严重: End event threw exception

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

严重: Parse error in application web.xml file at jndi:/localhost/t2s08/WEB-INF/web.xml

java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name MyHttpServlet01

at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2806)

严重: Occurred at line 20 column 21

2016-4-7 14:35:02 org.apache.catalina.startup.ContextConfig start

严重: Marking this application unavailable due to previous error(s)

2016-4-7 14:35:02 org.apache.catalina.core.StandardContext start

严重: Error getConfigured

2016-4-7 14:35:02 org.apache.catalina.core.StandardContext start

严重: Context [/t2s08] startup failed due to previous errors

2016-4-7 14:35:02 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory test

2016-4-7 14:34:37 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:\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\AD\apache-tomcat-6.0.36\bin

3个回答

jscly
jscly   2016.04.07 15:09

你是在bin/startup.bat里启动吗?

u011531803
u011531803   2016.04.07 15:25

没有啊,我用的这个亲

可以帮忙看下吗亲 --图片说明

u011531803
u011531803   2016.04.07 15:30

源码在此,帮忙看看怎么回事啊亲,求你了

链接:http://pan.baidu.com/s/1pLKO1qb 密码:eu3b

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!