我有一个使用aspectj plugin的项目:
org.codehaus.mojo aspectj插件1.8
在eclipse(mars)中,我尝试将项目作为maven项目导入,但下面会出现错误。
在为org.codehaus.mojo:aspectj plugin:1.8构建有效模型时遇到问题,com.sun:tools:jar的错误‘com.sun:tools:jar’必须指定绝对路径,但为${toolsjarSystemPath} @
我已经尝试将toolsjarSystemPath添加到Settings.xml中的属性中。不走运。我已经尝试在-vm中添加“Files\Java\jdk1.7.0_79\lib C:\Program”。再说一次,没有运气。有谁知道这个问题的其他解决方案吗?我已经将我的JAVA_HOME设置为:"C:\Program Files\Java\jdk1.7.0_79“
我不再有线索了..。[aspectj plugin v1.8](https://stackoverflow.com/questions/32997222/error-upgrading-aspectj-maven-plugin-v1-8)错误升级]的解决方案
发布于 2016-05-10 14:05:46
对我有用的是,删除了所有的JRE,只安装了一个JDK。这消除了问题,因为显然Eclipse默认使用JRE。
https://stackoverflow.com/questions/36863574
复制相似问题