打开eclipse准备进行开发时,发现项目上有个红星号,查看错误后发现报了一个:"web.xml is missing and <failOnMissingWebXml> is set to true"的错误,虽然不影响项目的正常运行,但是对于像我这种有强迫症的人来说,总是感觉很不爽,最后查了半天也没有很好的解决办法.后来使用最暴力的方式解决了该问题. 问题: 暴力解决办法: 1.在eclipse里删除出错的项目 (1) (2) 2.重新导入该maven工程 (1) (2)
pom.xml里有红叉报错的解决办法一: 1.把鼠标点在报的错上发现pom.xml报如下错误: Multiple annotations found at this line: - Failure to transfer org.slf4j:slf4j-log4j12:jar:1.7.21 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempte
Maven构建项目的时候提示: Description Resource Path Location Type Project configuration is not up-to-date with pom.xml. Run project configuration update GamesMarket line 1 Maven Configuration Problem 如下图操作即可: