`
编程足球
  • 浏览: 251131 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论

Undefined exploded archive location

    博客分类:
  • java
 
阅读更多
1. 用Myeclipse部署web系统wlms时候报如下错误:
  


则很有可能是你自己项目环境信息有问题,修改下就可以了。
打开项目目录: .mymetadata  文件
<?xml version="1.0" encoding="UTF-8"?>
<project-module
  type="WEB"
  name="wlms"
  id="myeclipse.1345519075437"
  j2ee-spec="1.4"
  archive="wlms.war">
  <attributes>
    <attribute name="webrootdir" value="/web" />
  </attributes>
</project-module>


插入context-root 的值就可以, 值就是上面name的值
context-root="/wlms"


<?xml version="1.0" encoding="UTF-8"?>
<project-module
  type="WEB"
  name="wlms"
  id="myeclipse.1345519075437"
  context-root="/wlms"
  j2ee-spec="1.4"
  archive="wlms.war">
  <attributes>
    <attribute name="webrootdir" value="/web" />
  </attributes>
</project-module>


在重新打开Myeclipse,就可以部署项目。
其实context-root的值可以在Myeclipse中直接配置
1. 右击项目,选择Properties
2.

把值设置为项目名称就可以了



记得重启Myeclipse
  • 大小: 33.1 KB
  • 大小: 100.3 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics