Hi,
 
We are currently migrating our project from ant to maven.

I try to perform a 'test:test' goal and get the fallowing error (stack bellow).
The method for the line refered in the stack is:
"assertEquals(Object, Object)" from the JUnit framework.
The two object passed are 'String'
But If explicitely cast my two String in Object the error doesn't occur. 
assertEquals((Object)st2, (Object)st2)
I am the only one of my team to get this, so it must come from my local classpath or 
so.

But I can't find anything. 
 
Thanks for any help.
 
stack:
 
Testcase: test took 0.14 sec
 Caused an ERROR
null
java.lang.NoSuchMethodError
 at com.myproject.Test.test(Test.java:38)
 at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
 at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
 at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
 at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
 at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
 at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
 at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
 at com.werken.werkz.Goal.fire(Goal.java:639)
 at com.werken.werkz.Goal.attain(Goal.java:575)
 at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
 at com.werken.werkz.Goal.attain(Goal.java:573)
 at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
 at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
 at org.apache.maven.cli.App.doMain(App.java:543)
 at org.apache.maven.cli.App.main(App.java:1109)
 at com.werken.forehead.Forehead.run(Forehead.java:551)
 at com.werken.forehead.Forehead.main(Forehead.java:581)



---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail

Reply via email to