• 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、解决办法

  • 相关阅读:
    C++中的关键概念:名字查找与继承
    调用哪个虚函数的问题
    二叉树基础知识
    赫夫曼树及其应用
    用MyEclipse搭建SSH框架 Struts Spring Hibernate
    数据库 事务的特性ACID
    网桥与交涣机
    Adobe Edge Animate 1.0 概述
    【官方】Adobe Edge Preview 3 初学者指南
    Adobe Edge , Flash 未来的方向?
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315015.html
Copyright © 2020-2023  润新知