Hi Chris,

This is a common problem with using XMLtask with IBM JDK. Please look at the link and rebuild the xmltask.jar by running the ant build. It works fine for me on IBM JDK after rebuilding the xmltask.jar with the changes suggested in the link below.

http://permalink.gmane.org/gmane.comp.java.ant.xmltask/545

- rahul n

On Thu, Mar 31, 2011 at 2:00 AM, Chris Madison <chris_madison@bellsouth.net> wrote:

Brian Agnew <brian@...> writes:

>
> Which version of the JDK are you using ?
>
> > Hi,
> >
> > I was using XMLtask in the ant script,by downloading the jar file
 given in
> > the link http://www.oopsconsultancy.com/software/xmltask/#intro
> >
> > and including it the taskdef.But I am not able to execute any of the
> > xmltasks,
> > it is throwing*
> >
> >  java.lang.NoClassDefFoundError:
> > com/sun/org/apache/xpath/internal/XPathAPI.
> > *......exception.Pls let me know how to resolve this.
> >
> > Thanks
> > -----------------------------------------------------------------
-------------
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> >
http://p.sf.net/sfu/lotusphere-d2d_______________________________________________
> > Xmltask-users mailing list
> > Xmltask-users@...
I have this same issue.

I'm using the WebSphere App Server JVM (really any JVM with RAD 7.5).

java -version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build
        pwi3260sr8fp1ifix-20100924_01
        SR8 FP1+IZ81201+IZ80998+IZ83034+IZ83273))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32
jvmwi3260sr8ifx-20100923_65174 (JIT enabled, AOT enabled)
J9VM - 20100923_065174
JIT  - r9_20100401_15339ifx6
GC   - 20100308_AA)
JCL  - 20100728_01

The specific exception I have is:
java.lang.NoClassDefFoundError:
    com.sun.org.apache.xpath.internal.XPathAPI


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users