BuddyFright
2017-03-01 01:56
采纳率: 100%
浏览 4.1k
已采纳

Eclipse中的项目新添加一个servlet之后无法启动tomcat,求解决办法~

文件之前是在自己的项目里创建的,能够正常运行,由于需要合项目,转到别人的项目后就不能运行了,而且tomcat也无法启动,web.xml配置基本正确(因为是在自己的项目上正常运行),但是在删除该servlet之后程序又能正常运行。下复制报错代码

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

8条回答 默认 最新

  • 好一个大布丁 2017-03-01 02:12
    已采纳
    点赞 评论
  • BuddyFright 2017-03-01 01:57

    以下是报错信息~~
    三月 01, 2017 9:51:42 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
    警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Exceltomysql' did not find a matching property.
    三月 01, 2017 9:51:42 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
    警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Tomysql' did not find a matching property.
    三月 01, 2017 9:51:42 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
    警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:XSTXK' did not find a matching property.
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server version: Apache Tomcat/7.0.70
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server built: Jun 15 2016 16:27:45 UTC
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server number: 7.0.70.0
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: OS Name: Windows 8
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: OS Version: 6.2
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Architecture: amd64
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Java Home: C:\Program Files\Java\jdk1.7.0_45\jre
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JVM Version: 1.7.0_45-b18
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JVM Vendor: Oracle Corporation
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: CATALINA_BASE: D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: CATALINA_HOME: D:\BIYESHEJI\Tomcat7
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcatalina.base=D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcatalina.home=D:\BIYESHEJI\Tomcat7
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dwtp.deploy=D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.endorsed.dirs=D:\BIYESHEJI\Tomcat7\endorsed
    三月 01, 2017 9:51:42 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dfile.encoding=GBK
    三月 01, 2017 9:51:42 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    信息: Loaded APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.2.
    三月 01, 2017 9:51:42 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    三月 01, 2017 9:51:44 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
    信息: OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016)
    三月 01, 2017 9:51:44 上午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["http-apr-8080"]
    三月 01, 2017 9:51:44 上午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["ajp-apr-8009"]
    三月 01, 2017 9:51:44 上午 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 2641 ms
    三月 01, 2017 9:51:44 上午 org.apache.catalina.core.StandardService startInternal
    信息: Starting service Catalina
    三月 01, 2017 9:51:44 上午 org.apache.catalina.core.StandardEngine startInternal
    信息: Starting Servlet Engine: Apache Tomcat/7.0.70
    三月 01, 2017 9:51:45 上午 org.apache.catalina.core.ContainerBase startInternal
    严重: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XSTXK]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:188)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1119)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
    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:744)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XSTXK]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
    ... 6 more
    Caused by: java.lang.IllegalArgumentException: The servlets named [ExportExcelServlet] and [com.imnu.test.ExportExcelServlet] are both mapped to the url-pattern [/ExportExcelServlet] which is not permitted
    at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:293)
    at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2460)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2135)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2096)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2088)
    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1302)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:887)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5503)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    ... 6 more

    三月 01, 2017 9:51:45 上午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
    信息: validateJarFile(D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Exceltomysql\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
    三月 01, 2017 9:51:46 上午 org.apache.catalina.startup.TldConfig execute
    信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    三月 01, 2017 9:51:46 上午 org.apache.catalina.startup.TldConfig execute
    信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    三月 01, 2017 9:51:46 上午 org.apache.catalina.core.ContainerBase startInternal
    严重: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:188)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1119)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:444)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:756)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:693)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
    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:744)
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1127)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    ... 6 more

    三月 01, 2017 9:51:46 上午 org.apache.catalina.startup.Catalina start
    严重: The required Server component failed to start so Tomcat is unable to start.
    org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:693)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:756)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    ... 7 more
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:444)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    ... 9 more
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1127)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    ... 11 more

    三月 01, 2017 9:51:46 上午 org.apache.coyote.AbstractProtocol pause
    信息: Pausing ProtocolHandler ["http-apr-8080"]
    三月 01, 2017 9:51:46 上午 org.apache.coyote.AbstractProtocol pause
    信息: Pausing ProtocolHandler ["ajp-apr-8009"]
    三月 01, 2017 9:51:46 上午 org.apache.catalina.core.StandardService stopInternal
    信息: Stopping service Catalina
    三月 01, 2017 9:51:46 上午 org.apache.coyote.AbstractProtocol destroy
    信息: Destroying ProtocolHandler ["http-apr-8080"]
    三月 01, 2017 9:51:46 上午 org.apache.coyote.AbstractProtocol destroy
    信息: Destroying ProtocolHandler ["ajp-apr-8009"]


    然后以下是该servlet的web.xml配置信息~


    ExportExcelServlet
    ExportExcelServlet
    com.imnu.test.ExportExcelServlet


    ExportExcelServlet
    /ExportExcelServlet

    点赞 评论
  • BuddyFright 2017-03-01 03:13

    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server version: Apache Tomcat/7.0.70
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server built: Jun 15 2016 16:27:45 UTC
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server number: 7.0.70.0
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: OS Name: Windows 8
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: OS Version: 6.2
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Architecture: amd64
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Java Home: C:\Program Files\Java\jdk1.7.0_45\jre
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JVM Version: 1.7.0_45-b18
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JVM Vendor: Oracle Corporation
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: CATALINA_BASE: D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: CATALINA_HOME: D:\BIYESHEJI\Tomcat7
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcatalina.base=D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcatalina.home=D:\BIYESHEJI\Tomcat7
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dwtp.deploy=D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.endorsed.dirs=D:\BIYESHEJI\Tomcat7\endorsed
    三月 01, 2017 11:08:36 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dfile.encoding=GBK
    三月 01, 2017 11:08:36 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    信息: Loaded APR based Apache Tomcat Native library 1.2.7 using APR version 1.5.2.
    三月 01, 2017 11:08:36 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    三月 01, 2017 11:08:37 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
    信息: OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016)
    三月 01, 2017 11:08:37 上午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["http-apr-8080"]
    三月 01, 2017 11:08:37 上午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["ajp-apr-8009"]
    三月 01, 2017 11:08:37 上午 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 2766 ms
    三月 01, 2017 11:08:37 上午 org.apache.catalina.core.StandardService startInternal
    信息: Starting service Catalina
    三月 01, 2017 11:08:37 上午 org.apache.catalina.core.StandardEngine startInternal
    信息: Starting Servlet Engine: Apache Tomcat/7.0.70
    三月 01, 2017 11:08:38 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deploying configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\Exceltomysql.xml
    三月 01, 2017 11:08:38 上午 org.apache.catalina.startup.SetContextPropertiesRule begin
    警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Exceltomysql' did not find a matching property.
    三月 01, 2017 11:08:38 上午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
    信息: validateJarFile(D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Exceltomysql\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
    三月 01, 2017 11:08:39 上午 org.apache.catalina.startup.TldConfig execute
    信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    三月 01, 2017 11:08:39 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deployment of configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\Exceltomysql.xml has finished in 892 ms
    三月 01, 2017 11:08:39 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deploying configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\Tomysql.xml
    三月 01, 2017 11:08:39 上午 org.apache.catalina.startup.SetContextPropertiesRule begin
    警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Tomysql' did not find a matching property.
    三月 01, 2017 11:08:40 上午 org.apache.catalina.startup.TldConfig execute
    信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    三月 01, 2017 11:08:40 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deployment of configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\Tomysql.xml has finished in 683 ms
    三月 01, 2017 11:08:40 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deploying configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\XSTXK.xml
    三月 01, 2017 11:08:40 上午 org.apache.catalina.startup.SetContextPropertiesRule begin
    警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:XSTXK' did not find a matching property.
    三月 01, 2017 11:08:40 上午 org.apache.catalina.core.ContainerBase addChildInternal
    严重: ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XSTXK]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
    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:744)
    Caused by: java.lang.NoClassDefFoundError: jxl/write/WritableCell
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2397)
    at java.lang.Class.getDeclaredFields(Class.java:1806)
    at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
    at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:270)
    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:139)
    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
    at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:416)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:890)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5503)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    ... 10 more
    Caused by: java.lang.ClassNotFoundException: jxl.write.WritableCell
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1891)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1734)
    ... 24 more

    三月 01, 2017 11:08:40 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    严重: Error deploying configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\XSTXK.xml
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XSTXK]]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
    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:744)

    三月 01, 2017 11:08:40 上午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deployment of configuration descriptor D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\XSTXK.xml has finished in 446 ms
    三月 01, 2017 11:08:40 上午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["http-apr-8080"]
    三月 01, 2017 11:08:40 上午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["ajp-apr-8009"]
    三月 01, 2017 11:08:41 上午 org.apache.catalina.startup.Catalina start
    信息: Server startup in 3335 ms

    点赞 评论
  • 好一个大布丁 2017-03-01 03:16

    D:\BIYESHEJI\Workshop.metadata.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\XSTXK.xml

    点赞 评论
  • 好一个大布丁 2017-03-01 03:16

    应该是这个路径有问题

    点赞 评论
  • 好一个大布丁 2017-03-01 03:22

    若是web.xml 没有写对的话也可能出现你那种情况,

    点赞 评论
  • 好一个大布丁 2017-03-01 03:23

    我要改bug了,还有问题的话给我发失信把

    点赞 评论
  • 好一个大布丁 2017-03-01 03:25
    点赞 评论

相关推荐 更多相似问题