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 20:32:28 UTC
[jira] [Updated] (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:all-tabpanel ]
Joep Rottinghuis updated HADOOP-7514:
-------------------------------------
Status: Patch Available (was: Open)
> 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
> Attachments: HADOOP-7514.patch
>
>
> 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