錯誤提示:Undefined exploded archive location
解決方法:
1.在項目目錄下的.mymetadata 文件中可能webrootdir 被改無效了(把下面內容拷到你的.mymetadate文件中的相應位置上);或者有可能少了這context-root 這個屬性;添加上這個屬性即可,內容如下:
context-root="/上面的name屬性值"
2.重啟項目,接著發布工程,發布成功!
淘寶女裝夏裝新款
3、<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="news"
context-root="/news"
id="myeclipse.1241587095424"
j2ee-spec="1.4"
archive="news.war">
<attributes>
<attribute name="webrootdir" value="/web" />
</attributes>
</project-module>
context-root:發布目錄
webrootdir:jsp頁面的文件目錄
posted on 2011-05-13 10:12
墻頭草 閱讀(6656)
評論(0) 編輯 收藏