lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Error message running: ant clean test
Date Thu, 19 Jul 2012 13:32:22 GMT
You should update your SVN, this class is no longer used in trunk! There
seems to be some classpath + source checkout confusion.

If you still get those errors, please check if you ~/.ant/lib folder contain
outdated and old ASM versions. Maybe you installed some ANT plugin in your
classpath that ships with outdated ASM.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: jellyman [mailto:colm_rice@hotmail.com]
> Sent: Thursday, July 19, 2012 3:26 PM
> To: general@lucene.apache.org
> Subject: Error message running: ant clean test
> 
> Hi,
> 
>    I have downloaded the Solr and Lucene source code. I'm running the
> command: "ant clean test" from C:\trunk and am getting hte following error
> message:
> 
> 
> BUILD FAILED
> C:\trunk\build.xml:55: The following error occurred while executing this
> line:
> C:\trunk\lucene\build.xml:180: java.lang.NoSuchMethodError:
> org.objectweb.asm.tree.ClassNode.<init>(I)V
> 	at
> org.apache.lucene.validation.ForbiddenApisCheckTask.addSignature(Forbidden
> ApisCheckTask.java:128)
> 	at
>
org.apache.lucene.validation.ForbiddenApisCheckTask.parseApiFile(ForbiddenA
> pisCheckTask.java:175)
> 	at
> org.apache.lucene.validation.ForbiddenApisCheckTask.execute(ForbiddenApisC
> heckTask.java:301)
> 	at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:392)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:413)
> 	at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
> 	at
>
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckE
> xecutor.java:38)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
> 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
> 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:303)
> 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
> 	at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
> 	at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 	at org.apache.tools.ant.Task.perform(Task.java:348)
> 	at org.apache.tools.ant.Target.execute(Target.java:392)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:413)
> 	at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
> 	at
>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
a
> va:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:811)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:217)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> 
> Total time: 2 minutes 7 seconds
> 
> 
> I have checked the the file is there as the method (though it is private,
should
> that matter?).
> 
> Does anyone have any ideas/suggestions/ideas to help me fix this? Would
> greatly appreciate any comments.
> 
> Struggling,
> jellyman
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Error-
> message-running-ant-clean-test-tp3995956.html
> Sent from the Lucene - General mailing list archive at Nabble.com.


Mime
View raw message