Right now I am working on XMLTask using java 1.6. It is working fine with 1.6 but when I change from 1.6 to 1.7, it is throwing the following error:
NoClassDefFoundError: org/apache/xpath/XPathAPI
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Had the same issue. I resolved it by adding xalan (specifically xalan-2.7.1.jar – there may be newer versions but that’s what I had on hand) to the classpath when defining the taskdef:
This seemed to make things work fine for me.