解决Missing artifact com.sun:tools:jar:1.5.0方法 今天在pom文件里加了,然后项目就报Missing artifact com.sun:tools:jar:1.5.0错误了。 解决方法如下,在pom文件里加入 然后在加入tools依赖: 完美解决!