• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError

 
Harish Tam
Ranch Hand
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Maneesh Godbole
Saloon Keeper
Posts: 11061
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try it in www.findjar.com
 
Harish Tam
Ranch Hand
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tried both the solution but can you give me the jar file name which has this class file in it.
 
pradeep gamage
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post your question with codes
 
Campbell Ritchie
Sheriff
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haev you used the -cp options to add that .jar to your classpath?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic