Thread:
 Hibernate-Annotation and Eclipse RCP- IllegalAcces... 
 vata   22 Apr 2007, 21:44 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: vata (22 Apr 2007, 21:44) Replies: 0, Views: 9104
Subject: Hibernate-Annotation and Eclipse RCP- IllegalAccessExce...
Great!
This Works for me. 

But I have another problem found. If I want to use hiberante-
annotations in my-test-rcp. and found 'IllegalAccessException' when
org.hibernate.cfg.ExtendedMappings accessing its super class 
org.hibernate.cfg.Mappings in intialization time.

Don't worry about the compatibility matrix. All libraries were came 
from distribution zip and converted into eclipse plugins. I use 
hibernate-core 3.2.3-GA and hibernate-annotation 3.2.1-GA. I also 
inculded 'Eclipse-BuddyPolicy: registered' in each dependency jars and 
list all in my-test-rcp's MANIFEST.MF files under 'Eclipse-
RegisterBuddy' and also in hibernate-core and hibernate-annotations

I think it'a about OSGI problem. CMIIW

Is there anyone has found the same problem and solved it?
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]