錯(cuò)誤提示:Undefined exploded archive location
解決方法:
1.在項(xiàng)目目錄下的.mymetadata 文件中可能webrootdir 被改無效了(把下面內(nèi)容拷到你的.mymetadate文件中的相應(yīng)位置上);或者有可能少了這context-root 這個(gè)屬性;添加上這個(gè)屬性即可,內(nèi)容如下:
context-root="/上面的name屬性值"
2.重啟項(xiàng)目,接著發(fā)布工程,發(fā)布成功!
淘寶女裝夏裝新款
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:發(fā)布目錄
webrootdir:jsp頁面的文件目錄
posted on 2011-05-13 10:12
墻頭草 閱讀(6656)
評(píng)論(0) 編輯 收藏