two or more web modules defined in the configuration have the same context root
2013-06-04 13:43
656 查看
转自:http://www.cnblogs.com/thomaskwan/archive/2012/05/27.html
错误:
产生原因:
因为tomcat为项目建立服务器的配置出现错误。错误的文件为D:\Test\Servers\Tomcat v5.5 Server at localhost-config\server.xml,当你直接复制项目时项目当中D:\Test\test\.settings\org.eclipse.wst.common.component当中的deploy-name和property name的键值没有改变而是原来项目的值。当把复制的项目再次加入tomcat的服务时就会造成以上错误。
解决方案:
将D:\Test\Servers\Tomcat v5.5 Server at localhost-config\server.xml当中新加入的错误Context删除,同时将D:\Test\test\.settings\org.eclipse.wst.common.component当中的deploy-name和property name的键值改为新项目的名称,重新加入tomcat的服务,问题解决。
错误:
two or more web modules defined in the configuration have the same context root(/项目名)。to start this server you will need to remove the duplicate(s)
产生原因:
因为tomcat为项目建立服务器的配置出现错误。错误的文件为D:\Test\Servers\Tomcat v5.5 Server at localhost-config\server.xml,当你直接复制项目时项目当中D:\Test\test\.settings\org.eclipse.wst.common.component当中的deploy-name和property name的键值没有改变而是原来项目的值。当把复制的项目再次加入tomcat的服务时就会造成以上错误。
解决方案:
将D:\Test\Servers\Tomcat v5.5 Server at localhost-config\server.xml当中新加入的错误Context删除,同时将D:\Test\test\.settings\org.eclipse.wst.common.component当中的deploy-name和property name的键值改为新项目的名称,重新加入tomcat的服务,问题解决。
相关文章推荐
- two or more web modules defined in the configuration have the same context root解决方案
- two or more web modules defined in the configuration have the same context root
- Two or more Web modules defined in the configuration have the same context root (/bms).
- two or more web modules defined in the configuration have the same context root解决方案
- Two or more Web modules defined in the configuration have the same context root (/ecsr).
- display two or more logcat filters at the same time in Android Studio
- idea 错误 Two modules in a project cannot share the same content root
- Overload : Allows 2 or more routines to have the same name
- Apache Error: Invalid command ‘Allow’, perhaps misspelled or defined by a module not included in the server configuration
- WCF分布式开发常见错误解决(7):System.InvalidOperationException,Cannot have two operations in the same contract
- WCF分布式开发常见错误解决(7):Cannot have two operations in the same contract
- .htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
- [Ubuntu] Invalid command 'VirtualDocumentRoot', perhaps misspelled or defined by a module not included in the server configuration
- 程序启动时报'webapp.root' =....Choose unique values for the 'webAppRootKey' context-param in your web.xml
- Why the same files are copied to /Approot and /Siteroot in Windows Azure WebRole?
- We are unable to complete the review of your app since one or more of your In App Purchases have not
- VB6:关于“Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types.”的编译错误
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- Hi there,Error:The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed
- Referenced file contains errors (http://www.springframework.org/schema/context). For more information, right click on the message in the Problems