:?: 在myeclipse中deploy:选择了一个工程,添加一个新的deploy工程时,不能正常出现deploy Location,可能的原因是没有在mymatadata中添加context-root="/",另外webrootdir属性也要设置正确。一个常见的配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="service"
id="myeclipse.1176958825862"
context-root="/service"
j2ee-spec="1.4"
archive="service.war">
<attributes>
<attribute name="webrootdir" value="<prjroot>" />
</attributes>
</project-module>
这个问题在baidu上看到一个,很是解决的很大问题啊
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="service"
id="myeclipse.1176958825862"
context-root="/service"
j2ee-spec="1.4"
archive="service.war">
<attributes>
<attribute name="webrootdir" value="<prjroot>" />
</attributes>
</project-module>
这个问题在baidu上看到一个,很是解决的很大问题啊
本文解决了在MyEclipse中部署应用时无法显示deployLocation的问题。通常原因是未在mymetadata中正确设置context-root和webrootdir属性。文章提供了一个正确的配置示例。
81

被折叠的 条评论
为什么被折叠?



