two or more web modules defined in the configuration have the same context root解决方案
2011-08-31 15:41
579 查看
eclipse 错误:
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(/项目名)。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 (/bms).
- Two or more Web modules defined in the configuration have the same context root (/ecsr).
- 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
- 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
- 程序启动时报'webapp.root' =....Choose unique values for the 'webAppRootKey' context-param in your web.xml
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- WCF分布式开发常见错误解决(7):System.InvalidOperationException,Cannot have two operations in the same contract
- WCF分布式开发常见错误解决(7):Cannot have two operations in the same contract
- Apache Error: Invalid command ‘Allow’, 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
- .htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- Why the same files are copied to /Approot and /Siteroot in Windows Azure WebRole?
- Overload : Allows 2 or more routines to have the same name
- C程序错误 two or more data types in declaration specifiers|解决方案
- We are unable to complete the review of your app since one or more of your In App Purchases have not
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id