在myEclipse下使用resin不能正常发布工程的解决
2013-05-02 11:37
211 查看
在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报错的解决办法
- Linux(LAMPP)下使用MySQL时不能正常显示中文的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- ubuntu下vi不能正常使用的解决方法
- iOS疯狂详解之iOS9 HTTP 不能正常使用的解决办法
- MyEclipse中安装android ADT 之后不能建WEB工程 解决方法
- 关于ueditor编辑器插件的使用记录 --- 解决"后端配置项没有正常加载,上传插件不能正常使用"上传图片处的问题
- 如何解决IE8中eWebEditor编辑器按钮不能正常使用
- Myeclipse(Tomcat)发布工程出现java.io.EOFException异常的原因和解决方法
- 解决ubutun下vim编辑器不能正常使用的情况(添加软件源)
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- 在.NET中编辑器在用伪静态后不能正常使用的解决方法
- 解决ubuntu中vi不能正常使用方向键和退格键的问题
- JavaEE - Eclipse下Web工程导入Myeclipse不能被识别解决方式
- iOS9 HTTP 不能正常使用的解决办法
- 解决ubuntu中vi不能正常使用方向键与退格键的问题
- 解决ios静态库中的类别(category)在工程中不能使用
- iOS10 HTTP 不能正常使用的解决办法