使用myeclipse部署web 应用的时候,Server选择完后 Delpoy Location为空。
需要配置如下:
修改 工程目录下 .mymetadata文件
添加内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="QMS_TCServerResponse"
id="myeclipse.1505269389251"
context-root="/QMS_TCServerResponse"
j2ee-spec="1.4"
archive="QMS_TCServerResponse.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
原因是缺少 context-root该配置