dear Emman!!!
i have tried that too ... but no use...
then i have created my own appln like that.
when i deployed and call it...it tells the foll error...
ERROR:
**********************************************
root cause
java.lang.NoClassDefFoundError: org/dom4j/Attribute
at com.celestials.celeshibdemo.HibernateUtil.(HibernateUtil.java:12)
at com.celestials.celeshibdemo.EntryAction.execute(EntryAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet
it goes like that.....
*************************************************
where is the bug..i couldnt find out....
i am sending the whole directory list for ur reference here...
DIR LIST & FILES
*************************************************
Volume in drive C has no label.
Volume Serial Number is F419-37E2
Directory of C:\tomcat4\webapps\celeshibdemo
05/01/2004 03:08p <DIR> .
05/01/2004 03:08p <DIR> ..
04/02/2004 06:20p 313 .classpath
04/02/2004 02:50p 386 .project
05/01/2004 03:08p 0 dirlist.txt
04/12/2004 02:55p 1,096 Entry.jsp
04/12/2004 12:42p 72 Failure.jsp
04/08/2004 12:09p 859 index.jsp
04/12/2004 01:41p 72 Success.jsp
04/16/2004 09:16p <DIR> WEB-INF
7 File(s) 2,798 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF
04/16/2004 09:16p <DIR> .
04/16/2004 09:16p <DIR> ..
05/01/2004 03:06p <DIR> classes
04/17/2004 05:16p <DIR> lib
04/17/2004 04:52p <DIR> src
04/02/2004 02:33p 7,834 struts-bean.tld
04/12/2004 05:48p 1,286 struts-config.xml
11/25/2003 09:34a 45,844 struts-html.tld
11/25/2003 09:34a 12,075 struts-logic.tld
04/12/2004 12:53p 1,774 web.xml
5 File(s) 68,813 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\classes
05/01/2004 03:06p <DIR> .
05/01/2004 03:06p <DIR> ..
04/16/2004 07:27p 905 Cat.hbm.xml
04/16/2004 09:16p <DIR> com
11/03/2003 02:40p 486,522 dom4j.jar
04/17/2004 05:11p 620 hibernate.cfg.xml
02/04/2004 04:46p 910,873 hibernate2.jar
02/26/2004 07:31p 352,668 log4j.jar
5 File(s) 1,751,588 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\classes\com
04/16/2004 09:16p <DIR> .
04/16/2004 09:16p <DIR> ..
04/16/2004 09:16p <DIR> celestials
0 File(s) 0 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\classes\com\celestials
04/16/2004 09:16p <DIR> .
04/16/2004 09:16p <DIR> ..
04/17/2004 05:11p <DIR> celeshibdemo
0 File(s) 0 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\classes\com\celestials\celeshibdemo
04/17/2004 05:11p <DIR> .
04/17/2004 05:11p <DIR> ..
04/03/2004 12:10p 3,206 ApplicationResources.properties
04/16/2004 06:31p 1,104 Cat.class
04/16/2004 06:31p 3,203 EntryAction.class
04/16/2004 06:30p 1,744 EntryForm.class
04/16/2004 06:31p 1,973 HibernateUtil.class
04/16/2004 06:30p 1,954 LogonAction.class
04/16/2004 06:30p 1,966 LogonForm.class
7 File(s) 15,150 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\lib
04/17/2004 05:16p <DIR> .
04/17/2004 05:16p <DIR> ..
02/04/2004 04:46p 737,884 ant-1.5.3.jar
02/04/2004 04:46p 671,546 ant-optional-1.5.3.jar
02/04/2004 04:46p 2,717 apache.license.txt
02/04/2004 04:46p 235,686 c3p0-0.8.3.jar
02/04/2004 04:46p 18,258 c3p0.license.txt
02/04/2004 04:46p 288,855 cglib-2.0-rc2.jar
03/31/2004 03:32p 118,726 commons-beanutils.jar
02/04/2004 04:46p 165,119 commons-collections-2.1.jar
02/04/2004 04:46p 100,776 commons-dbcp-1.1.jar
02/04/2004 04:46p 63,980 commons-lang-1.0.1.jar
02/04/2004 04:46p 31,605 commons-logging-1.0.3.jar
02/04/2004 04:46p 39,523 commons-pool-1.1.jar
02/04/2004 04:46p 171,071 concurrent-1.3.2.jar
02/04/2004 04:46p 17,978 connector.jar
02/04/2004 04:46p 9,790 connector.licence.txt
02/04/2004 04:46p 486,522 dom4j-1.4.jar
11/03/2003 02:40p 486,522 dom4j.jar
02/04/2004 04:46p 42,030 ehcache-0.6.jar
04/13/2004 01:13p 42,069 ehcache-0.7.jar
02/04/2004 04:46p 910,873 hibernate2.jar
02/04/2004 04:46p 104,359 jaas.jar
02/04/2004 04:46p 9,863 jaas.licence.txt
02/04/2004 04:46p 156,505 jboss-cache.jar
02/04/2004 04:46p 287,213 jboss-common.jar
02/04/2004 04:46p 576,871 jboss-jmx.jar
02/04/2004 04:46p 170,923 jboss-system.jar
02/04/2004 04:46p 293,789 jcs-1.0-dev.jar
02/04/2004 04:46p 6,727 jdbc2_0-stdext.jar
02/04/2004 04:46p 7,932 jdbc2_0-stdext.licence.txt
02/04/2004 04:46p 1,331,869 jgroups-2.2.jar
02/04/2004 04:46p 8,812 jta.jar
02/04/2004 04:46p 9,830 jta.licence.txt
02/04/2004 04:46p 121,070 junit-3.8.1.jar
02/04/2004 04:46p 352,668 log4j-1.2.8.jar
02/26/2004 07:31p 352,668 log4j.jar
02/26/2004 07:12p 441,245 mysqljdbc.jar
02/04/2004 04:46p 13,091 odmg-3.0.jar
02/04/2004 04:46p 110,208 oscache-2.0.jar
02/04/2004 04:46p 475,943 proxool-0.8.3.jar
02/04/2004 04:46p 2,008 README.txt
03/31/2004 03:32p 498,051 struts.jar
02/04/2004 04:46p 30,602 swarmcache-1.0rc2.jar
02/04/2004 04:46p 997,276 xalan-2.4.0.jar
02/04/2004 04:46p 895,813 xerces-2.4.0.jar
02/04/2004 04:46p 123,705 xml-apis.jar
45 File(s) 12,020,571 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\src
04/17/2004 04:52p <DIR> .
04/17/2004 04:52p <DIR> ..
04/17/2004 10:50a 3,973 .classpath
04/17/2004 04:53p 47 .encoding
04/16/2004 08:15p 388 .project
04/16/2004 09:16p <DIR> com
04/12/2004 01:04p 620 hibernate.cfg.xml
4 File(s) 5,028 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\src\com
04/16/2004 09:16p <DIR> .
04/16/2004 09:16p <DIR> ..
04/16/2004 09:16p <DIR> celestials
0 File(s) 0 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\src\com\celestials
04/16/2004 09:16p <DIR> .
04/16/2004 09:16p <DIR> ..
04/17/2004 10:51a <DIR> celeshibdemo
0 File(s) 0 bytes
Directory of C:\tomcat4\webapps\celeshibdemo\WEB-INF\src\com\celestials\celeshibdemo
04/17/2004 10:51a <DIR> .
04/17/2004 10:51a <DIR> ..
04/17/2004 10:51a 1,104 Cat.class
04/16/2004 05:00p 906 Cat.hbm.xml
04/16/2004 08:00p 746 Cat.java
04/17/2004 01:12p 3,203 EntryAction.class
04/17/2004 01:12p 2,387 EntryAction.java
04/17/2004 10:51a 1,744 EntryForm.class
04/16/2004 06:30p 1,695 EntryForm.java
04/17/2004 10:51a 1,973 HibernateUtil.class
04/16/2004 06:31p 1,112 HibernateUtil.java
04/17/2004 10:51a 1,954 LogonAction.class
04/16/2004 06:27p 1,510 LogonAction.java
04/17/2004 10:51a 1,966 LogonForm.class
04/16/2004 06:30p 1,421 LogonForm.java
13 File(s) 21,721 bytes
Total Files Listed:
86 File(s) 13,885,669 bytes
32 Dir(s) 15,407,190,016 bytes free
*********************************************
hope this will help u to catch the culprit....
if u want the whole code i can send it as .zip to ur mail...
need some guidens and suggestions on this.....
and can u send me the hibernate-tools.jar ...and jt400.jar files..???
expecting ur reply !!!
-Munas.
|