Fork me on GitHub

myeclipse Undefined exploded archive location

背景

维护一个JSP+Servlet的老项目,myeclipse6.5导入后出现Undefined exploded archive location。

Build Path

image

image

部署

发现deploy不了,Finish是灰色的,切换一下Deploy type提示Undefined exploded archive location。
image
项目Build后手动复制WebRoot到Tomcat下面的webapp下面,启动后可以正常访问。问题出在Myeclipse上。

解决方案

网上查了下后发现是.mymetadata文件缺少context-root配置
context-root="/项目名"
image
改完后重启Myeclipse即可。
参考:
https://blog.csdn.net/hufengfeng/article/details/84908820

posted @ 2021-11-12 10:54  秋夜雨巷  阅读(119)  评论(0编辑  收藏  举报