slf4j problem with Eclipse Luna [message #1227252] |
Sat, 04 January 2014 00:33 |
Rolf Schumacher Messages: 60 Registered: January 2014 |
Member |
|
|
Debian SID AMD64, Luna for J2EE
What I did:
Just after installation of Eclipse Luna I imported one of my Maven projects.
Right clicked that project for Run As Maven clean.
What I expected:
Behaviour as if I would issue mvn clean from the commandline, e.g. deleting the target folder with no failure message.
What I got:
An erroneous output containing the message:
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.slf4j.LoggerFactory.reset()V from class org.slf4j.MavenSlf4jFriend
at org.slf4j.MavenSlf4jFriend.reset(MavenSlf4jFriend.java:33)
What I tried without success:
stackoverflow.com/questions/9030476/java-lang-illegalaccesserror-tried-to-access-field-org-slf4j-impl-staticloggerb?answertab=active#tab-top offers a solution, but it did no difference, adding 1.7.5 version of slf4j-api to the projects pom.xml.
The same output reaches me with any Maven command issued form Run As.
mvn clean or mvn install work fine from commandline for this project.
Any help is welcome. I did not had this problem with Kepler (however I had other problems forcing me to switch to Luna).
|
|
|
Powered by
FUDForum. Page generated in 0.08845 seconds