-->
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: Error while creating session factory
PostPosted: Tue Mar 21, 2006 6:56 am 
Newbie

Joined: Tue Mar 21, 2006 5:53 am
Posts: 1
hi all,
I have got this error while creating sessionFactory object using this statement.

SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();

i have aaded the dom4j-1.6.1.jar in the lib directory. and also added it to the classpath.

please give me some useful hints.

Here is the error i got:

SEVERE: Servlet.service() for servlet action threw exception
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at com.cyber.struts.action.InsertAction.execute(InsertAction.java:69)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)

_________________
Thanks
Ashish
Software Developer(India)


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.