-->
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: Run time Error with EntityManager in the J2SE environment
PostPosted: Fri Mar 14, 2008 3:00 am 
Newbie

Joined: Thu Mar 13, 2008 5:45 am
Posts: 5
Location: India
I have used hibernate's EntityManager for implementing entity persistence in the java desktop environment.
I am getting below error at runtime :-

Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/util/file/ArchiveBrowser$Filter
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:119)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
at st.itac.ccc.EntityClient.main(EntityClient.java:9)


can any one help me out which jar files I need to include in the class path/or which jar file is missing.
I have included following jar files in the classpath :-
hibernate3.jar,hibernate-annotations.jar,hibernate-entitymanager.jar,ejb3-persistence.jar,javassit.jar

can any one help me out.

with best regards,
Ajay Kumar
ST Microelectronics Ltd.


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.