dcsimg
ant can't find jaxp!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rob_shepherd
Posted On:   Thursday, August 23, 2001 03:51 AM

win 98, jdk 1.2.2, ANT 1.3 SET ANT_HOME=c:jakarta-ant-1.3 SET JAVA_HOME=C:JDK set PATH=c:jdk in;c:jdkjre in;c:jakarta-ant-1.3 in;c:windows;c:windowscommand; set CLASSPATH=%CLASSPATH%;c: ini1.02 in ini.jar;c: ini1.02 inowapi_dependencies_TINI_001.jar;%ANT_HOME%libant.jar;%ANT_HOME%libjaxp.jar;%ANT_HOME%parser.jar;%ANT_HOME%libTiniAnt.jar this set up produces o/p thus, C:Robjavaonewirepot>ant BUILD FAILED No JAXP compliant XML parser found. See http://java.sun.com/xml for the reference implementation. --- Nested Exception --- java.lang.NullPointerException at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code) at org.apach   More>>

win 98, jdk 1.2.2, ANT 1.3



SET ANT_HOME=c:jakarta-ant-1.3


SET JAVA_HOME=C:JDK



set PATH=c:jdk in;c:jdkjre in;c:jakarta-ant-1.3 in;c:windows;c:windowscommand;


set CLASSPATH=%CLASSPATH%;c: ini1.02 in ini.jar;c: ini1.02 inowapi_dependencies_TINI_001.jar;%ANT_HOME%libant.jar;%ANT_HOME%libjaxp.jar;%ANT_HOME%parser.jar;%ANT_HOME%libTiniAnt.jar



this set up produces o/p thus,

C:Robjavaonewirepot>ant




BUILD FAILED

No JAXP compliant XML parser found. See http://java.sun.com/xml for the
reference implementation.


--- Nested Exception ---


java.lang.NullPointerException
at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:149)


--------------------------------------

jaxp.jar & parser.jar fom zip are in %ANT_HOME%lib directory, i've tried downloading jaxp1.1 from sun but same error



thanks    <<Less

Re: ant can't find jaxp!

Posted By:   Erik_Hatcher  
Posted On:   Thursday, August 23, 2001 02:37 PM

Give Ant 1.4 a try and see if that corrects this issue. I recommend upgrading first, and then if thats not a realistic option, then we can try troubleshooting other solutions.
About | Sitemap | Contact