| Author |
NoClassDefFoundError
|
Harish Tam
Ranch Hand
Joined: Feb 17, 2005
Posts: 71
|
|
hello all,
which jar file has this class located i am getting this error when trying to run a package. It is xml related package. and if possible where can i get this jar file, i am using java 1.5
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xalan/xpath/XPathSupport
Thanks
Harish
|
SCJP 1.4, SCWCD 1.4
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8574
|
|
|
Looks like http://xml.apache.org/xalan-j/
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
pradeep gamage
Ranch Hand
Joined: Aug 03, 2009
Posts: 85
|
|
|
Try it in www.findjar.com
|
Software Engineer(BSC):SCJP 1.5
(Knowledge is power when applied)
|
 |
Harish Tam
Ranch Hand
Joined: Feb 17, 2005
Posts: 71
|
|
|
tried both the solution but can you give me the jar file name which has this class file in it.
|
 |
pradeep gamage
Ranch Hand
Joined: Aug 03, 2009
Posts: 85
|
|
Can you put your question with more details. i think this is mapping problem.
and try this jar file " xalan-2.4.0.jar "
|
 |
Harish Tam
Ranch Hand
Joined: Feb 17, 2005
Posts: 71
|
|
got xalan-2.4.0.jar but the same error.
I have a utility which generates a sql file from a xml file which is has the query.
and i think it use this xpath , but it cannot find in classpath can anybody suggest me the jar file to include in my classpath so that it picks this file and process continues.
Thanks
Harish
|
 |
pradeep gamage
Ranch Hand
Joined: Aug 03, 2009
Posts: 85
|
|
|
post your question with codes
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
|
|
|
Haev you used the -cp options to add that .jar to your classpath?
|
 |
 |
|
|
subject: NoClassDefFoundError
|
|
|