【发布时间】:2015-06-17 22:23:01
【问题描述】:
我已经从 Eclipse 市场安装了 SONARQUBE,并重新启动了 Eclipse。 但是从“首选项”页面中选择 SonarQube 时出现以下错误。
An error occurred while automatically activating bundle org.sonar.ide.eclipse.ui (351)。当我通过根异常进行跟踪时,如下所示。请帮忙。
根异常:
java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:299)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
【问题讨论】: