【maven install】,則依然報錯,但報的是另外一個錯誤:
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project lus-infrastructure: Execution default of goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile failed: Plugin org.codehaus.mojo:aspectj-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.4.2 at specified path
解決方法:把【Windows】-【Preferences】-【Java】-【Install JREs】中的JRE給remove掉,然後Add JDK,再次【maven install】就OK了。