myeclipse tomcat undefined exploded archive location 问题解决办法

myeclipse中的项目突然不能部署了,提示undefined exploded archive location.

 1.打开工程目录下的.mymetadata文件

 

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

查看是否缺少context-root属性或者webrootdir有误。

猜你喜欢

转载自jiale-wang.iteye.com/blog/1018385