• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I'm very new to Hibernate , i got this exception when trying to run this example the example , the exception full stack are :




Anything missing ?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

any recommendations ??
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found the solution by removing all the lib from the classpath then put them again and take care from the lib version , use always the latest ..
 
Vipul Gulhane
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solution:
1. Remove file:
hibernate-3.3.1.GA\lib\required\slf4j-api-1.5.2.jar

2. Add to your project two new files:
slf4j-api-1.5.6.jar
slf4j-log4j12-1.5.6.jar

 
Irfan Rashid
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved the problem by just adding "slf4j-log4j12.jar" jar file.
 
manjunath kk kanakagiri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://slf4j.org/faq.html#IllegalAccessError

The above URL has the clear information for the cause of the issue and its fix.
ie. because of the conflicts between 1.4.3 & earlier and 1.5.5 & later versions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic