You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Matthew Kuperus Heun <ma...@gaerospace.com> on 2000/08/15 22:07:35 UTC

No JAXP compliant XML parser found

Greetings:

Newbie to <taskdef> question:

I'm trying to implement Patrick Beard's jlink as an ant task.

I'm to the point where I'm testing my first build file, but I get

>BUILD FAILED
>
>No JAXP compliant XML parser found. See http://java.sun.com/xml for the
>reference implementation.
>java.lang.NoClassDefFoundError

However, using ant -verbose, I verify that I have

xml4j.jar

on java.class.path.  And, buildfiles that do not use <taskdef> work fine.

Any suggestions?

Cheers,

Matt

P.S.  I think it would be good to have a "plugin" functionality in 
ant, where jars for new tasks could be dropped into a directory and 
loaded into ant without the <taskdef> stuff.  I know this was 
mentioned a few days ago (see "Automatic loading of classes"), but, 
according to Frederic Lavigne, the changes were not incorporated into 
CVS.