开发者

Sonar and Eclipse IAM Plugin

When I am using the newest IAM Eclipse Plugin for Maven with the current Sonar version on a JDK 6 and I get an error while executing the sonar:sonar goal in

clean install sonar:sonar

The error in eclipse is

23:02:55 MESZ Starting Starting mojoExecution sonar-core:internal
23:03:44 MESZ fatal org.sonar.开发者_JS百科maven2.BatchMojo#execute() caused a linkage error (java.lang.NoSuchMethodError). Check the realms:
...
 java.lang.NoSuchMethodError:
org.apache.maven.execution.ReactorManager.<init>(Ljava/util/List;)V

Any idea how to fix it?

PS: If I do a mvn clean install sonar:sonar manually this it not an issue.


It seems hard to say anything with the current level of detail (it's often preferable to mention the versions of the software you're using: Maven, the sonar plugin, the JDK). Anyway, my suggestion would be to try on the command line first (i.e. outside of Eclipse). If it doesn't work, update your question with your pom (the sonar plugin part), your maven version, the error trace (with more lines).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜