[
https://issues.apache.org/jira/browse/HADOOP-6468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794246#action_12794246
]
Steve Loughran commented on HADOOP-6468:
----------------------------------------
The cause of this is an older version of the asm classes on Ant's classpath
getting picked up before the version set up by Hadoop.
Fix: run {{ant -diagnostics}} and look for any {{asm.jar}} libraries on the
classpath, usually in {{$ANT_HOME/lib}} or in ~/.ant/lib. Remove them. Retry
> compile-core-test failing with java.lang.NoSuchMethodError:
> org.objectweb.asm.ClassWriter.<init>
> ------------------------------------------------------------------------------------------------
>
> Key: HADOOP-6468
> URL: https://issues.apache.org/jira/browse/HADOOP-6468
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Environment: Ant 1.7
> Reporter: Steve Loughran
> Priority: Trivial
>
> I'm filing this for something for the search engines to index, so when others
> hit the problem, the solution is here.
> hadoop-common's tests arent' compiling on one machine,
> java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.