0
我有一个完美的动态web项目。然后我试图使用mvn eclipse:eclipse -Dwtpversion=2.0
命令将其更改为mvn web项目,然后更改我的包结构。将main.java
包添加到我的包中。我试图在.classpath文件中加入封装结构在eclipse中更改
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
但是项目包没有变化。 以下是我更改的项目结构。我怎样才能把它恢复正常(删除软件包main.java) 预先感谢
编辑:
当我试图编辑源文件夹它显示以下错误: