These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: cglib generating SecurityException
PostPosted: Sun Jun 15, 2008 8:24 pm 
Newbie

Joined: Sun Jun 15, 2008 8:12 pm
Posts: 1
Hi, im new to hibernate and i used it in my java application, im working with netbeans and well, when i run the app on netbeans all works great... the thing is that i need to deploy in other machines .. and when i try to use the jar file i got this (Im also using spring):



Caused by: java.lang.SecurityException: class "cl.healthmanager.storage.vo.PurchaseDetailVO$$EnhancerByCGLIB$$73e1754a"'s signer information does not match sign
er information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
... 75 more

I've read a little about the problem and people says that i have to sign the cglib jar file, but i dont know how.. and if its that the problem as well..
im kind of new in all of this.. any help please?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 16, 2008 8:03 am 
Expert
Expert

Joined: Fri Jul 13, 2007 8:18 am
Posts: 370
Location: london
If you're using jars that came with netbeans you might want to repackage your app with the spring/hibernate jars from the relevant distribution. see here:
http://forum.springframework.org/showthread.php?t=49011
(this guy talks about eclipse6 but he must mean netbeans6)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.