Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18849

java.lang.ClassNotFoundException: hudson.maven.AbstractMavenProject

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • maven-plugin
    • None
    • RHEL

      I upgraded to 1.509.2. Now, the post build actions of the configure page is not displaying and giving an error 500. The Jenkins log is full of java.lang.ClassNotFoundException: hudson.maven.AbstractMavenProject.

      Screen shots and logs attached

      NOTE: I downgraded back to 1.509.1 but the error still exists.

          [JENKINS-18849] java.lang.ClassNotFoundException: hudson.maven.AbstractMavenProject

          Joshua Slominski created issue -

          The same error on 1.524 but apparently related to Violations plugin

          Caused by: java.lang.NoClassDefFoundError: hudson/maven/AbstractMavenProject
                at hudson.plugins.violations.hudson.ViolationsFreestyleDescriptor.isApplicable(ViolationsFreestyleDescriptor.java:104)
                at hudson.tasks.BuildStepDescriptor.filter(BuildStepDescriptor.java:84)
                at hudson.Functions.getPublisherDescriptors(Functions.java:766)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:616)
          

          Francisco Ruiz added a comment - The same error on 1.524 but apparently related to Violations plugin Caused by: java.lang.NoClassDefFoundError: hudson/maven/AbstractMavenProject at hudson.plugins.violations.hudson.ViolationsFreestyleDescriptor.isApplicable(ViolationsFreestyleDescriptor.java:104) at hudson.tasks.BuildStepDescriptor.filter(BuildStepDescriptor.java:84) at hudson.Functions.getPublisherDescriptors(Functions.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616)

          I had the same error on 1.525.
          Enabling the Maven Integration plugin (maven-plugin) in Plugin manager worked as a workaround.

          Aleksi Hoffman added a comment - I had the same error on 1.525. Enabling the Maven Integration plugin (maven-plugin) in Plugin manager worked as a workaround.

          Enabling the Maven Integration plugin has worked for me too.

          Francisco Ruiz added a comment - Enabling the Maven Integration plugin has worked for me too.

          Rodney Oliver added a comment -

          +1 on enabling the Maven Integration plugin as a workaround for this issue

          Rodney Oliver added a comment - +1 on enabling the Maven Integration plugin as a workaround for this issue
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-19230 [ JENKINS-19230 ]

          Oleg Nenashev added a comment -

          The issue was in the Maven plugin, which has been decoupled from the Jenkins core (Oct 22, 2013)

          Oleg Nenashev added a comment - The issue was in the Maven plugin, which has been decoupled from the Jenkins core (Oct 22, 2013)
          Oleg Nenashev made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Daniel Beck added a comment -

          Oleg: Actually, cause is a until just now undocumented change to plugin dependency loading in 1.524. The original of issues like this one is probably JENKINS-18922.

          Daniel Beck added a comment - Oleg: Actually, cause is a until just now undocumented change to plugin dependency loading in 1.524 . The original of issues like this one is probably JENKINS-18922 .
          Oleg Nenashev made changes -
          Resolution Original: Won't Fix [ 2 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            Unassigned Unassigned
            hoohaa8384 Joshua Slominski
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: