-->
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.  [ 1 post ] 
Author Message
 Post subject: Security Error Exception
PostPosted: Thu Nov 11, 2010 9:35 am 
Newbie

Joined: Thu Nov 11, 2010 9:22 am
Posts: 1
I'm having the following problem ...

Error that occurs:
java.lang.SecurityException: class "javax.persistence.EntityListeners" 's signer information does not match signer information of other classes in The Same package

My structure of applications

Server tomcat 6 + Hibernate 3.6 + JPA
App1 - java 6


Jars of hibernate 3.6 final are in the directory tomcat/lib

The error occurs when the following line of code is called just after loading the mappings:
Configuration conf = new AnnotationConfiguration().Configure();
factory = conf.buildSessionFactory() -> row that the error occurs

If I put the hibernate jars in the directory App1/WEB-INF/lib everything works but must remain on jars tomcat/lib because n# applications using hibernate


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

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.