wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic
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: 9990
    
    7

Looks like http://xml.apache.org/xalan-j/


[How to ask questions] [Donate a pint, save a life!] [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: 36453
    
  15
Haev you used the -cp options to add that .jar to your classpath?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError
 
Similar Threads
Jar file
JAR files..
javax.xml.parsers error
Where can I find the com.ms.security package ?
Writing data to a file