MAVEN 在eclipse中webapp目录下的文件不能同步到targer的问题
mvn eclipse:eclipse
打开工程中的.classpath文件
检查是否有webapp的输出,如果没,则添加
<classpathentry kind="src" path="src/main/webapp" output="target/你的项目名称"/>
不知道有没有更好的解决办法!
解决在使用eclipse开发环境下,webapp目录下的文件无法正常同步到target目录的问题,通过调整工程中的.classpath文件来实现文件同步。
MAVEN 在eclipse中webapp目录下的文件不能同步到targer的问题
mvn eclipse:eclipse
打开工程中的.classpath文件
检查是否有webapp的输出,如果没,则添加
<classpathentry kind="src" path="src/main/webapp" output="target/你的项目名称"/>
不知道有没有更好的解决办法!

被折叠的 条评论
为什么被折叠?