You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Wojtek Rappak <ra...@nildram.co.uk> on 2002/06/20 14:18:10 UTC

RE: Parse error in Turbine sample app - help... ==> Resolution

Thanks for the help, guys.  It sort of put me on the right track, i.e. I
looked into build issues and found the cause of the problem.

It has to do with incompatibilities between ant 1.3a and ant 1.4, i.e the
build tool.

I started building the Turbine 2.1 sample app a few days ago.  All was well.
I used ant 1.3.  I then went on to the 'decoupled' Torque and tried to build
the tutorial app without success.  After a few frustrating hours I tracked
the problem down to the version of ant (1.3) I was building with - there was
a class missing.  So I upgraded to ant 1.4.  Torque was now a healthy babe
showing off its persistence layer.  I then went back to Turbine intending to
continue with my development work.  But now it didn't work:  the Parse error
stopped me in my tracks.  The exception message seems to point to the parser
so I spent fruitless hours going down that blind alley.

When I started looking at the build process, I focussed on the ant versions.
Note that the tdk source page states that it uses ant1.3a.  So I reverted
back to ant 1.3 and Turbine works fine.  I guess that when I go back to
Torque I'll have to use ant 1.4.  (There does seem to be a more fundamental
issue here but I assume that later versions of Turbine are buing built with
ant1.4).

Hope this helps other families avoid the pain we went through :-)

Wojtek Rappak


> -----Original Message-----
> From: Paul Smith [mailto:Paul.Smith@lawlex.com.au]
> Sent: 19 June 2002 23:10
> To: 'Turbine Users List'
> Subject: RE: Parse error in Turbine sample app - help...
>
>
> Thank you Stephen for this hint!  It seems that (in my case) my ant
> installation had a xercesImpl*.jar in ANT_HOME/lib.  Simply renaming that
> file causes the TDK build.xml to run perfectly.
>
> cheers,
> Paul
>
> -----Original Message-----
> From: Stephen Haberman [mailto:stephenh@chase3000.com]
> Sent: Thursday, June 20, 2002 7:47 AM
> To: 'Turbine Users List'
> Subject: RE: Parse error in Turbine sample app - help...
>
>
> Also, this error shows up quite a bit in the archives. It seems having
> duplicate jars in your classpath can also cause the VerifyError problem.
> E.g. two servlet.jars or an xerces-1.4.4.jar and an
> xercesImpl-2.0.0.jar, etc.
>
> - Stephen
>
> > -----Original Message-----
> > From: Stephen Haberman [mailto:stephenh@chase3000.com]
> > Sent: Wednesday, June 19, 2002 4:39 PM
> > To: 'Turbine Users List'; ratcom@nildram.co.uk
> > Subject: RE: Parse error in Turbine sample app - help...
> >
> > Are you using Xerces 2.0.0? If so, try 2.0.1 or 1.4.4.
> >
> > Also, are you using Jikes 1.15? If so, try Jikes 1.14. Jikes has a
> known
> > bug like this.
> >
> > Let me know if either of these help.
> >
> > - Stephen
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>