m2eclipse识别不了system类型的依赖怎么办?

m2eclipse插件可能会识别不了system类型的依赖,比如,它会报“找不到com/sun/tools/1.5.0";

这时你要做的就是把jdk里的tools.jar复制到maven repository中,并改名使它带上版本号,最后刷新eclipse工程即可。

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.