Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-174

NoClassDefFoundError while packaging using maven-jar-plugin:2.4 with Maven 3.1.1

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.4
    • None
    • sign
    • None
    • Windows, Mac and Linux

    Description

      Exception while building with Maven 3.1.1 and maven-jar-plugin:2.4

      Exception pasted for your reference :
      WARNING] Error injecting: org.apache.maven.plugin.jar.JarMojo
      java.lang.NoClassDefFoundError: org/codehaus/plexus/components/io/resources/PlexusIoResourceCollection
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)
      at java.lang.Class.getDeclaredConstructors(Class.java:1901)
      at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoi

      Attachments

        Activity

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

          People

            khmarbaise Karl Heinz Marbaise
            maruthi_s Maruthi Shanmugam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment