java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

Jenkins JIRA | David Light | 2 years ago
  1. 0

    After upgrading to 1.597 from 1.588 on Windows when a user clicks on a job they get: {code} 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. {code} * If you create a new job it shows correctly until the first job runs and then it shows the 500 error. * You can select the drop-down from the Job instead and go to Configure, etc. and it shows correctly. * Last Success, Failure, Duration show N/A * I cannot downgrade because trying to run the unmigrate script fails with: {code} Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest at hudson.Util.createSymlinkJava7(Util.java:1224) at hudson.Util.createSymlink(Util.java:1118) at jenkins.model.RunIdMigrator.unmigrateBuildsDir(RunIdMigrator.java:371 ) at jenkins.model.RunIdMigrator.unmigrateJobsDir(RunIdMigrator.java:320) at jenkins.model.RunIdMigrator.main(RunIdMigrator.java:307) Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 5 more {code}

    Jenkins JIRA | 2 years ago | David Light
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
  2. 0

    After upgrading to 1.597 from 1.588 on Windows when a user clicks on a job they get: {code} 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. {code} * If you create a new job it shows correctly until the first job runs and then it shows the 500 error. * You can select the drop-down from the Job instead and go to Configure, etc. and it shows correctly. * Last Success, Failure, Duration show N/A * I cannot downgrade because trying to run the unmigrate script fails with: {code} Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest at hudson.Util.createSymlinkJava7(Util.java:1224) at hudson.Util.createSymlink(Util.java:1118) at jenkins.model.RunIdMigrator.unmigrateBuildsDir(RunIdMigrator.java:371 ) at jenkins.model.RunIdMigrator.unmigrateJobsDir(RunIdMigrator.java:320) at jenkins.model.RunIdMigrator.main(RunIdMigrator.java:307) Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 5 more {code}

    Jenkins JIRA | 2 years ago | David Light
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. archenroot 1 times, last 2 weeks ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 2 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 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.ClassNotFoundException

    javax.servlet.http.HttpServletRequest

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.net.URLClassLoader$1.run(Unknown Source)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(Unknown Source)
    5. java.lang.ClassLoader.loadClass(Unknown Source)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    7. java.lang.ClassLoader.loadClass(Unknown Source)
    7 frames
  3. Hudson
    Util.createSymlink
    1. hudson.Util.createSymlinkJava7(Util.java:1224)
    2. hudson.Util.createSymlink(Util.java:1118)
    2 frames
  4. jenkins.model
    RunIdMigrator.main
    1. jenkins.model.RunIdMigrator.unmigrateBuildsDir(RunIdMigrator.java:371)
    2. jenkins.model.RunIdMigrator.unmigrateJobsDir(RunIdMigrator.java:320)
    3. jenkins.model.RunIdMigrator.main(RunIdMigrator.java:307)
    3 frames