NetBeans执行项目报错
1、错误描写叙述
严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/FoundationDatabase]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) 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:633) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalArgumentException: The servlets named [CurrentUser] and [CurrentUser] are both mapped to the url-pattern [/CurrentUser] which is not permitted at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:335) at org.apache.catalina.deploy.WebXml.merge(WebXml.java:1691) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1331) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more 六月 21, 2014 11:27:20 下午 org.apache.catalina.startup.HostConfig deployDescriptor 严重: Error deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\FoundationDatabase.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/FoundationDatabase]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) 六月 21, 2014 11:27:20 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\manager.xml 六月 21, 2014 11:27:20 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\ROOT.xml 六月 21, 2014 11:27:20 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8084"] 六月 21, 2014 11:27:20 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 六月 21, 2014 11:27:20 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 14113 ms 六月 21, 2014 11:27:22 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\HighCharts.xml 六月 21, 2014 11:27:22 下午 org.apache.catalina.util.LifecycleBase start 信息: The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HighCharts]] after start() had already been called. The second call will be ignored.
2、错误原因
3、解决的方法