• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss error

 
ramesh poorella
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic