Could not find artifact com.sun:tools:jar:1.5.0解决方法

可以参照在XP系统下搭建maven环境出的问题 Unable to locate the Javac Compiler in: C:\Program Files\Java\jre6\..\lib\tools.jar的解决办法

不行的话就直接在pom.xml加一个

1 <dependency>
2     <groupId>com.sun</groupId>
3     <artifactId>tools</artifactId>
4     <version>1.5.0</version>
5 </dependency>

 

 

posted @ 2014-05-22 12:53  Misul_xin  阅读(1734)  评论(0编辑  收藏  举报

www.misul.cn