在使用m2eclipse插件时,在pom.xml中添加struts2-core.jar包后,需要依赖java运行时的tools.jar进行依赖。但是,此时eclipse无法读取tools包,出现如下错误:
Missing artifact com.sun:tools:jar 1.5.0
在使用m2eclipse插件时,在pom.xml中添加struts2-core.jar包后,需要依赖java运行时的tools.jar进行依赖。但是,此时eclipse无法读取tools包,出现如下错误:
Missing artifact com.sun:tools:jar 1.5.0