You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2011/08/04 19:38:27 UTC
[jira] [Commented] (HADOOP-7514) Build fails with
ClassCastException when running both mvn-install and mvn-deploy targets
[ https://issues.apache.org/jira/browse/HADOOP-7514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079496#comment-13079496 ]
Joep Rottinghuis commented on HADOOP-7514:
------------------------------------------
Does not apply to trunk due to HADOOP-6671
> Build fails with ClassCastException when running both mvn-install and mvn-deploy targets
> ----------------------------------------------------------------------------------------
>
> Key: HADOOP-7514
> URL: https://issues.apache.org/jira/browse/HADOOP-7514
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2; Maven 3.0.2
> Reporter: Joep Rottinghuis
> Assignee: Joep Rottinghuis
> Priority: Minor
>
> Although this may not be a common use-case, the exception thrown is really confusing and does not clarify what the problem is.
> The resulting error is: java.lang.ClassCastException: org.codehaus.plexus.DefaultPlexusContainer cannot be cast to org.codehaus.plexus.PlexusContainer
> The error occurs because mvn-init target gets called twice.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira