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)
|
|