打开org.eclipse.wst.common.component文件,修改以下一句:
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
close项目,然后打开就可以了,别忘了删掉遗留的webContent目录。
打开org.eclipse.wst.common.component文件,修改以下一句:
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
close项目,然后打开就可以了,别忘了删掉遗留的webContent目录。