Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7514

Build fails with ClassCastException when running both mvn-install and mvn-deploy targets

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • build
    • None
    • 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

    • Reviewed

    Description

      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.

      Attachments

        1. HADOOP-7514.patch
          0.8 kB
          Joep Rottinghuis

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jrottinghuis Joep Rottinghuis
            jrottinghuis Joep Rottinghuis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment