[Webtest] Re: Groovy Linkage Error StreamingMarkupBuilder

Robert Bodziony Robert Bodziony" <robert.bodziony@gmail.com
Tue, 8 Jan 2008 11:51:51 +0100


------=_Part_40310_11111873.1199789511041
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

after putting a new groovy ive got this error:
"..
WebTestMonitor.groovy: 19: Invalid duplicate class definition of class
WebTestMonitor : The source <path>\WebTestMonitor.groovy contains at last
two defintions of the class WebTestMonitor.
One of the classes is a explicit generated class using the class statement,
the other is a class generated from the script body based on the file name.
Solutions are to change the file name or to change the class name.
 @ line 19, column 1.
1 error

Regards,
 Robert

2008/1/8, Marc Guillemot <mguillemot@yahoo.fr>:
>
> Robert Bodziony wrote:
> > hi
> >  ive got simmilar issue at windows with and and ibm jdk 1.5.0
> >
> > ive fixed this issue replacing latest jars from groovy :
> >
> >    groovy-1.5.1.jar + asm-2.2.jar +antlr-2.7.6.jar
> >
> >  and works (but with this version of groovy i neeed to rename
> > WebTestMonitor.groovy to
> >   WebTestMonitor2.groovy and now it works :)
>
> why did you need to rename WebTestMonitor.groovy?
>
> Cheers,
> Marc.
> --
> Blog: http://mguillem.wordpress.com
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>

------=_Part_40310_11111873.1199789511041
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

after putting a new groovy ive got this error:<br>&quot;..<br>WebTestMonitor.groovy: 19: Invalid duplicate class definition of class WebTestMonitor : The source &lt;path&gt;\WebTestMonitor.groovy contains at last two defintions of the class WebTestMonitor.
<br>One of the classes is a explicit generated class using the class statement, the other is a class generated from the script body based on the file name. Solutions are to change the file name or to change the class name.
<br>&nbsp;@ line 19, column 1.<br>1 error<br><br>Regards,<br>&nbsp;Robert<br><div><span class="gmail_quote"><br>2008/1/8, Marc Guillemot &lt;<a href="mailto:mguillemot@yahoo.fr">mguillemot@yahoo.fr</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Robert Bodziony wrote:<br>&gt; hi<br>&gt;&nbsp;&nbsp;ive got simmilar issue at windows with and and ibm jdk 1.5.0<br>&gt;<br>&gt; ive fixed this issue replacing latest jars from groovy :<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;groovy-1.5.1.jar + asm-2.2.jar
 +antlr-2.7.6.jar<br>&gt;<br>&gt;&nbsp;&nbsp;and works (but with this version of groovy i neeed to rename<br>&gt; WebTestMonitor.groovy to<br>&gt;&nbsp;&nbsp; WebTestMonitor2.groovy and now it works :)<br><br>why did you need to rename WebTestMonitor.groovy
?<br><br>Cheers,<br>Marc.<br>--<br>Blog: <a href="http://mguillem.wordpress.com">http://mguillem.wordpress.com</a><br><br>_______________________________________________<br>WebTest mailing list<br><a href="mailto:WebTest@lists.canoo.com">
WebTest@lists.canoo.com</a><br><a href="http://lists.canoo.com/mailman/listinfo/webtest">http://lists.canoo.com/mailman/listinfo/webtest</a><br></blockquote></div><br>

------=_Part_40310_11111873.1199789511041--