59519751 发表于 2017-2-8 09:42:06

tomcat下无法部署的解决办法

强调一点,就是.mymetadata文件:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="zyyhl"
id="myeclipse.1313210652109"
context-root="/zyyhl"
j2ee-spec="1.4"
archive="zyyhl.war">
<attributes>
    <attribute name="webrootdir" value="ViewController//public_html" />
</attributes>
</project-module>

里面的webrootdir属性可以改为合适的目录,如果有子目录,要用"//"分开才行!
页: [1]
查看完整版本: tomcat下无法部署的解决办法