发生这个问题时。
项目目录下修改.classpath文件,添加如下内容:
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
保存后 重启eclipse。大功告成。

725

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



