开发者

Eclipse Spring MVC template project and Maven dependences

I have a problem using Eclipse STS suite for developing Spring MVC project with Maven. By default, Spring MVC template uses maven for building. It builds with maven (rmc on pom.xml -> Run As -> Maven install) but eclipse highligts all maven-managemented dependencies in red. (and mark them as开发者_运维技巧 an errors) I'm using m2eclipse for eclipse WTP. Here is a screenshot: http://rghost.ru/24803261

And here is my pom.xml file: http://pastebin.com/5EvNQvHe


If there is no error marker in the pom.xml then is mostly only a refereshing problem.

(Make sure, that Maven support is enables for this project ("package explorer"/Project/Maven/Enable Dependency Management).

Then Try: right click on your project in the "package explorer", select Maven/Update Project Configuration to update the project configuration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜