java.lang.NoClassDefFoundError: hudson/maven/MavenBuild

Jenkins JIRA | Jonas Lippuner | 3 years ago
  1. 0

    Despite not listing Maven as a dependency, Gerrit Trigger depends on the Maven Integration plugin. When I disable the Maven Integration plugin, Jenkins still triggers on a new Gerrit patch set, but when the build is done, Jenkins fails to report back to Gerrit with the following error message: {quote} INFO: SpECTRE_simple_Gerrit #3 main build action completed: SUCCESS Apr 24, 2014 5:28:56 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted INFO: Completed. Build: SpECTRE_simple_Gerrit #3 Cause: GerritCause: PatchsetCreated: Change: 13 PatchSet: 4 silent: false Apr 24, 2014 5:28:56 PM hudson.model.listeners.RunListener report WARNING: RunListener failed java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) at java.lang.Class.getDeclaredMethod(Class.java:2002) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:165) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:170) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:149) [much more stack trace...] {quote} When I enable the Maven Integration plugin, Gerrit Trigger works perfectly and reports back to Gerrit.

    Jenkins JIRA | 3 years ago | Jonas Lippuner
    java.lang.NoClassDefFoundError: hudson/maven/MavenBuild
  2. 0

    Despite not listing Maven as a dependency, Gerrit Trigger depends on the Maven Integration plugin. When I disable the Maven Integration plugin, Jenkins still triggers on a new Gerrit patch set, but when the build is done, Jenkins fails to report back to Gerrit with the following error message: {quote} INFO: SpECTRE_simple_Gerrit #3 main build action completed: SUCCESS Apr 24, 2014 5:28:56 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onCompleted INFO: Completed. Build: SpECTRE_simple_Gerrit #3 Cause: GerritCause: PatchsetCreated: Change: 13 PatchSet: 4 silent: false Apr 24, 2014 5:28:56 PM hudson.model.listeners.RunListener report WARNING: RunListener failed java.lang.NoClassDefFoundError: hudson/maven/MavenBuild at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) at java.lang.Class.getDeclaredMethod(Class.java:2002) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:165) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:170) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:149) [much more stack trace...] {quote} When I enable the Maven Integration plugin, Gerrit Trigger works perfectly and reports back to Gerrit.

    Jenkins JIRA | 3 years ago | Jonas Lippuner
    java.lang.NoClassDefFoundError: hudson/maven/MavenBuild
  3. 0

    GitHub comment 230#151781227

    GitHub | 1 year ago | sreejitheday
    java.lang.NoClassDefFoundError: com/thoughtworks/gauge/SpecificationInfo 17:27:44.342 [INFO]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Robolectric fails to run tests with google play services (maps)

    Stack Overflow | 3 years ago | alex
    java.lang.NoClassDefFoundError: com/google/android/gms/maps/model/LatLng

    8 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      hudson/maven/MavenBuild

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      Class.getDeclaredMethod
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
      3. java.lang.Class.getDeclaredMethod(Class.java:2002)
      3 frames
    3. XStream Core
      SerializationMethodInvoker.getMethod
      1. com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:165)
      2. com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:170)
      3. com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.getMethod(SerializationMethodInvoker.java:149)
      3 frames