permaculture playing cards*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60

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

Peter Johnson

Joined: May 14, 2008
Posts: 5812

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
I agree. Here's the link:
subject: Jboss error
Similar Threads
getting null pointer exception
Unable to deploy ejb3 entity bean with Oracle Datasource
DeploymentException while deploying ear file in JBoss
JBossJSFConfigureListener Error