aspose file tools*
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss error" Watch "Jboss error" New topic
Author

Jboss error

ramesh poorella
Ranch Hand

Joined: Jul 19, 2011
Posts: 59
Hi,

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

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5778
    
    7

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 http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalAccessError.html), 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: http://aspose.com/file-tools
 
subject: Jboss error
 
Similar Threads
Unable to deploy ejb3 entity bean with Oracle Datasource
getting null pointer exception
org.springframework.beans.factory.BeanCreationException
DeploymentException while deploying ear file in JBoss
JBossJSFConfigureListener Error