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

NetBeans运行项目报错,布布扣,bubuko.com

时间: 2024-12-08 00:48:21

NetBeans运行项目报错的相关文章

eclipse升级Android SDK Tool版本到25.2.5后运行项目报错Unable to build: the file dx.jar was not loaded from the SDK folder

概述 由于最近通过SDK-Manager更新了build-tools,当要用到dx.jar这个包时,自动调用最新版本Android SDK build-tools中dx.jar,但是运行android项目时Console却提示: 解决方案 解决办法就是:确保dx.jar这个文件在build-tools\lib和选择的Andriod SDK Tools版本一致就可以. 我用的 Android SDk build-tools 最新版本是 28.0.3,安装的Andriod SDK Tools版本是2

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(Life

xcode 7 运行项目报错 -fembed-bitcode is not supported on versions of iOS prior to 6.0

看一时是不支持 -fembed-bitcode  后查找网上资源发现 Xcode 7 has a ENABLE_BITCODE option to embed bitcode in apps, app extensions, and frameworks. The option is turned on by default for iOS and is mandatory for watchOS projects submitted to the store. When bitcode is

启动Django项目报错

今天一时手欠将电脑名字改成了中文,在启动Django或Flask项目的时候一直报下面的错误 问题描述: 环境配置成功,Django成功pip,运行项目报错,浏览器输入127.0.0.1:8000报错 问题截图: 问题所在:计算机名为中文 解决方法:更改计算机名为英文,重启电脑 重命名这台计算机 重新运行项目成功 原文地址:https://www.cnblogs.com/songzhixue/p/11664430.html

运行springboot项目报错:Field userMapper in XX required a bean of type 'xx' that could not be found.

运行springboot项目报错: *************************** APPLICATION FAILED TO START *************************** Description: Field userMapper in com.whohim.springboot.service.impl.UserServiceImpl required a bean of type 'com.whohim.springboot.dao.UserMapper' t

运行mvc项目报错 <%@ Application Codebehind="Global.asax.cs" Inherits="NHAPPAPI.MvcApplication" Language="C#" %>

当运行项目报如下错误时,检查网站生成目录是否含有特殊符号或空格 <%@ Application Codebehind="Global.asax.cs" Inherits="NHAPPAPI.MvcApplication" Language="C#" %> 原文地址:https://www.cnblogs.com/wxy520/p/8335269.html

导入项目报错

导入别人的项目报错就是环境不一致,无非是就是tomcat版本.JDK版本不一样:还有如果有关于servlet报错的问题也是关于tomcat的原因,因为servlet的实现是由各个服务器厂商发布的(想查找servlet实现类的源码需要引入tomcat源码). 接下来导入项目: 1.导入项目之前,请确认工作空间编码已设置为utf-8:window->Preferences->General->Wrokspace->Text file encoding->Other 选择UTF-8

Maven新建项目报错

在Eclipse下使用maven新建立的项目报错.有三个错误,一直没有找到合适的方法,今天终于解决了. 第一个错误:pom.xml报错. 解决办法:运行 maven install. 第二个错误:jsp文件报错,原因:缺少servlet-api包. 解决办法:去maven中央仓库下载.即在pom.xml文件中加入servlet-api的依赖. 第三个错误:src/main/java文件夹丢失. (1):   '右键build path -> configure build path -> so

cocos2dx 2.2.3 xcode5.0,新建mac项目报错

cocos2dx 2.2.3 xcode5.0,新建mac项目报错 Undefined symbols for architecture x86_64: "cocos2d::extension::LabelReader::createInstance()", referenced from: cocos2d::extension::GUIReader::GUIReader() in GUIReader.o "cocos2d::extension::ButtonReader::