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

java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class javax.jmdns.JmDNS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Solaris, Sun JVM 1.5.0_15

      Release 1.359 fails to start, giving:

      java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class javax.jmdns.JmDNS)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1854)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at hudson.DNSMultiCast.(DNSMultiCast.java:24)
      at hudson.model.Hudson.(Hudson.java:628)
      at hudson.model.Hudson.(Hudson.java:545)
      at hudson.WebAppMain$2.run(WebAppMain.java:222)

      To me that suggests that the jmdns lib was compiled with a JDK > 1.5. This causes Hudson to fail to load on a JVM =< 1.5.

            Unassigned Unassigned
            glennji Glenn J. Mason
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: