在myEclipse下使用resin不能正常发布工程的解决
2010-10-12 11:47
267 查看
今天在myEclipse下发布项目,发现在Deploy Location下不显示发布路径。
百度了一下说可能的原因是没有在mymatadata中添加context-root="/",另外webrootdir属性也要设置正确。
一个常见的配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="premier"
id="myeclipse.1270646223656"
context-root="/premier"
j2ee-spec="1.4"
archive="premier.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
mymetadata的context-root内容设置位置:
项目右键——>Properties——>MyEclipse——>Web——>Context Root
如果发布不正常,该位置会出现错误提示。
百度了一下说可能的原因是没有在mymatadata中添加context-root="/",另外webrootdir属性也要设置正确。
一个常见的配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="premier"
id="myeclipse.1270646223656"
context-root="/premier"
j2ee-spec="1.4"
archive="premier.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
mymetadata的context-root内容设置位置:
项目右键——>Properties——>MyEclipse——>Web——>Context Root
如果发布不正常,该位置会出现错误提示。
相关文章推荐
- 在myEclipse下使用resin不能正常发布工程的解决
- 在myEclipse下使用resin不能正常发布工程的解决
- weblogic发布项目使用myeclipse正常启动,点击startWeblogic.cmd报错的解决办法
- 解决ubuntu中vi不能正常使用方向键和退格键的问题
- 解决Cygwin中vim的backspace不能正常使用(转)
- iOS9 HTTP 不能正常使用的解决办法(详细plist设置)
- Redhat6.5——解决yum功能不能正常使用
- iOS9 HTTP 不能正常使用的解决办法
- iOS 9 iOS9 HTTP 不能正常使用的解决办法
- 解决在办公室不能正常使用Windows Live Mail
- JavaEE - Eclipse下Web工程导入Myeclipse不能被识别解决方式
- myeclipse 提示错误Undefined exploded archive location&deploy project 时不能正常显示 问题的解决
- MyEclipse中不能将WEB项目发布到TOMCAT中解决办法
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- VC6.0不能正常打开文件和添加文件到工程的解决办法
- Ubuntu使用问题(一):Ubuntu不能正常关机的解决方法
- 解决ubuntu中vi不能正常使用方向键与退格键的问题?
- MyEclipse中使用Tomcat发布工程时报错:The selected server is enabled,but……
- Myeclipse导入eclipse工程无法使用问题解决
- IOS9 HTTP 不能正常使用的解决办法