java.lang.UnsupportedClassVersionError: javassist/CtClass : Unsupported major.minor version 52.0

JBoss Issue Tracker | Simon Franquet | 11 months ago
  1. 0

    Sorry, not sure it's the right place to post this, but anyway : during instrumentation, class transformation fails with the this : Redefinition class failed ! java.lang.UnsupportedClassVersionError: javassist/ClassPool : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at com.meilleuregestion.instrumentation.Transformer.transform(Transformer.java:33) at sun.instrument.TransformerManager.transform(TransformerManager.java:169) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:365) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at org.apache.catalina.util.Introspection.loadClass(Introspection.java:143) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:135)

    JBoss Issue Tracker | 11 months ago | Simon Franquet
    java.lang.UnsupportedClassVersionError: javassist/CtClass : Unsupported major.minor version 52.0
  2. 0

    Precompiled Jars will not run on Mac Mountain Lion

    GitHub | 3 years ago | stephenmac7
    java.lang.UnsupportedClassVersionError: org/bonsaimind/easyminelauncher/Main : Unsupported major.minor version 51.0
  3. 0

    I need to run my capsuled jar on Java 6

    GitHub | 2 years ago | pokle
    java.lang.UnsupportedClassVersionError: Capsule : Unsupported major.minor version 51.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Auto Update Functionality - Java 1.7 Required

    GitHub | 4 years ago | curttasker
    java.lang.UnsupportedClassVersionError: de/idos/updates/store/ProgressReport : Unsupported major.minor version 51.0
  6. 0

    JDK1.7 requirements

    GitHub | 3 years ago | florianleibert
    java.lang.UnsupportedClassVersionError: com/airbnb/dropwizard/assets/AssetServlet : Unsupported major.minor version 51.0

  1. harshg 4 times, last 3 months ago
  2. muffinmannen 1 times, last 5 months ago
  3. bpbhat77 1 times, last 5 months ago
  4. Akhilesh Patel 2 times, last 12 months ago
56 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.UnsupportedClassVersionError

    javassist/CtClass : Unsupported major.minor version 52.0

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    6. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    12 frames
  3. com.meilleuregestion.instrumentation
    Transformer.transform
    1. com.meilleuregestion.instrumentation.Transformer.transform(Transformer.java:33)
    1 frame
  4. Java RT
    SecureClassLoader.defineClass
    1. sun.instrument.TransformerManager.transform(TransformerManager.java:169)
    2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:365)
    3. java.lang.ClassLoader.defineClass1(Native Method)
    4. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    5. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    6. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    6 frames
  5. Glassfish Core
    WebappClassLoader.findClass
    1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2895)
    2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)
    2 frames