• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jboss error

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic