[groovy-dev] LinkageError with CVS HEAD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[groovy-dev] LinkageError with CVS HEAD

tugwilson
I have started getting java.lang.LinkageError: duplicate class  
definition: groovy/xml/streamingmarkupbuildersupport/
AbstraqctStreamingBuilder

(Note the error message above was retyped not cut and pasted)

I'm running with CVS HEAD and I'm running a script under Eclipse  
using GroovyShell.

AbstraqctStreamingBuilder is AbstraqctStreamingBuilder.groovy

Should this be caused by a recent change to the system? I have a  
feeling that the classloader is getting confused because it can find  
the *.groovy file but has already loaded the *class file (or the  
other way round).

If I change my settings so that the source of  
AbstraqctStreamingBuilder.groovy is not on the classpath then the  
error goes away.


John Wilson
The Wilson Partnership
http://www.wilson.co.uk


Reply | Threaded
Open this post in threaded view
|

Re: [groovy-dev] LinkageError with CVS HEAD

Jochen Theodorou
John Wilson schrieb:

> I have started getting java.lang.LinkageError: duplicate class  
> definition: groovy/xml/streamingmarkupbuildersupport/
> AbstraqctStreamingBuilder

that should be resolved by now

bye blackdrag

Reply | Threaded
Open this post in threaded view
|

Re: [groovy-dev] LinkageError with CVS HEAD

tugwilson

On 18 Nov 2005, at 11:28, Jochen Theodorou wrote:

>
> that should be resolved by now


I've tried it with CVS HEAD and it works fine - many thanks:)


John Wilson
The Wilson Partnership
http://www.wilson.co.uk