Hi Ron,
the only way to debug the /home/ron/maven/build-maven.xml:470: java.lang.reflect.InvocationTargetException type of errors is to run ant with -debug or -verbose....ready for it again :) -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers Ron Alsobrook <listmail@originproduc To: [EMAIL PROTECTED] tions.com> cc: Subject: Re: [PATCH] Re: Problems with new maven project 05/02/02 11:47 AM Please respond to turbine-maven-user I've fixed the SAX problem, and it was all my fault. I had put another version of the SAX classes into JAVA_HOME/jre/lib/endorsed a while ago and they were taking precedence. Sorry about that. However, new problems came up. The new output of running maven:validate-pom is this: ====================================== maven:validate-pom: validate-pom: [validate-pom] Error in class org.apache.maven.XmlPomValidator BUILD FAILED /home/ron/maven/build-maven.xml:470: java.lang.reflect.InvocationTargetException ====================================== Now, I didn't have xerces 2 installed so I put that in $ANT_HOME/lib which now contains these files: ant.jar crimson.jar jaxp.jar junit.jar jakarta-ant-1.4.1-optional.jar xercesImpl.jar I have no CLASSPATH defined and I'm using j2sdk 1.4.0 with ant 1.4.1. Thanks so, so much for your help. I sometimes wonder if there would ever be any problems with Java without classpath issues. Ron On Wednesday 01 May 2002 5:15 pm, Pete Kazmier wrote: > What are the contents of your $ANT_HOME/lib directory? You need > to have Xerces2 installed in order to use the maven:validate-pom > target. It definitely seems like you have some other SAX classes > in your classpath somewhere. Try unsetting your classpath before > you run the target. What version of Java are you using? What > version of Ant? > > Thanks! > Pete > > On Wed, May 01, 2002 at 03:55:23PM -0700, Ron Alsobrook wrote: > > Here is the output when I do maven:validate-pom. Another SAX > > issue of some kind...any ideas?