Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

A problem using XPathAPI

843834Feb 12 2005 — edited Apr 21 2008
I've succesfully imported the org.apache.xpath package to my application and am attempting to use the XPathAPI found there. My code compiles with no errors, but when I run the application I get this: "java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI"

Why does it find the XPathAPI class during compile but not at run time? Is this a problem with classpath or what?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2008
Added on Feb 12 2005
6 comments
1,614 views