找到项目的位置,进入.settings文件夹。
找到org.eclipse.wst.common.component文件
<wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/>
将source-path的路径改为WEB-INF所在的文件夹下
找到项目的位置,进入.settings文件夹。
找到org.eclipse.wst.common.component文件
<wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/>
将source-path的路径改为WEB-INF所在的文件夹下