Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » slf4j problem with Eclipse Luna(even "Run As Maven clean" does not work for me in Luna for an Eclipse Maven project)
slf4j problem with Eclipse Luna [message #1227252] Sat, 04 January 2014 00:33
Rolf Schumacher is currently offline Rolf SchumacherFriend
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).
Previous Topic:Is Javascript Eclipse a different application?
Next Topic:how to open existing tutorial of j2ee example in eclispe
Goto Forum:
  


Current Time: Mon May 13 01:59:39 GMT 2024

Powered by FUDForum. Page generated in 0.08845 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top