• 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:UsersAdministrator.FOXB2MKB3RGUNILAppDataRoamingNetBeans7.4apache-tomcat-7.0.41.0_baseconfCatalinalocalhostFoundationDatabase.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:UsersAdministrator.FOXB2MKB3RGUNILAppDataRoamingNetBeans7.4apache-tomcat-7.0.41.0_baseconfCatalinalocalhostmanager.xml
    六月 21, 2014 11:27:20 下午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: Deploying configuration descriptor C:UsersAdministrator.FOXB2MKB3RGUNILAppDataRoamingNetBeans7.4apache-tomcat-7.0.41.0_baseconfCatalinalocalhostROOT.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:UsersAdministrator.FOXB2MKB3RGUNILAppDataRoamingNetBeans7.4apache-tomcat-7.0.41.0_baseconfCatalinalocalhostHighCharts.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、解决的方法

  • 相关阅读:
    React Native入门教程2 -- 基本组件使用及样式
    React Native入门教程 1 -- 开发环境搭建
    [轻松一下] 大热天的宿舍太热了,来网吧敲代码
    读外部存储的权限READ_EXTERNAL_STORAGE
    【翻译】Ext JS 6.2 早期访问版本发布
    等火车
    HTTP 简介
    建造模式Builder
    DP解LCS问题模板及其优化(模板)
    poj1015 正解--二维DP(完全背包)
  • 原文地址:https://www.cnblogs.com/blfbuaa/p/6753345.html
Copyright © 2020-2023  润新知