Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JBoss/WildFly and the fly likes Jboss error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss error" Watch "Jboss error" New topic

Jboss error

ramesh poorella
Ranch Hand

Joined: Jul 19, 2011
Posts: 61

when i am deploying my application i am getting this errr.

Peter Johnson

Joined: May 14, 2008
Posts: 5850

The root cause is:

Caused by: java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.<init>

Based on the description of that exception (see, I suspect that the Hibernate JAR being used at runtime doesn't match the one used to build Spring (since Spring code is what is accessing Hibernate).

Does your application contain Hibernate JARs? If so, then this is a classloading issue and you might have to define a classloader repository.

JBoss In Action
Have you tried LearnNowOnline?
subject: Jboss error