Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mapp

Trying to create a space in an application running in WebLogic 9.2. This same code works when running on a PC outside of WebLogic. It appears that the application does not have access to the Hibernate mapping files. I would appreciate any help deciphering the meaning of this exception. Thanks

Exception in thread "Data Model Writer 1" java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.<init>(Ljava/u
til/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/h
ibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/Map;Ljava/util/Map;)V from class org
.hibernate.cfg.ExtendedMappings
        at org.hibernate.cfg.ExtendedMappings.<init>(ExtendedMappings.java:65)
        at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.java:166)
        at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:254)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
        at com.gigaspaces.datasource.hibernate.SessionFactoryBuilder.getFactory(SourceFile:68)
at com.gigaspaces.datasource.hibernate.HibernateDataSource.init(SourceFile:151)

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2008-09-22 13:20:18 -0500

wichteb gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

How did you packaged the war file?

Do you have the mapping files within the war file? If so where?

Shay

answered 2008-09-26 10:26:02 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2008-09-22 13:20:18 -0500

Seen: 2,913 times

Last updated: Sep 26 '08