Maven add dependencies to classPath

How to configure Eclipse build path to use Maven dependencies

引用:
http://stackoverflow.com/questions/4859825/how-to-add-maven-managed-dependencies-library-in-build-path-eclipse


add m2e 插件

http://download.eclipse.org/technology/m2e/releases/1.6/1.6.0.20150526-2032/



If you have m2e installed and the project already is a maven project but the maven dependencies are still missing, the easiest way that worked for me was

right click the project,
Maven,
Update Project...
Eclipse screenshot

猜你喜欢

转载自a545807638.iteye.com/blog/2235958