java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported major.minor version 48.0)

Oracle Community | 807593 | 2 decades ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Help is needed.. thanks in advance..

    Oracle Community | 2 decades ago | 807593
    java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported major.minor version 48.0)
  2. 0

    Topic: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0) what is this?! | www.jguru.com

    jguru.com | 1 year ago
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0)
  3. 0

    Topic: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0) what is this?! | www.jguru.com

    jguru.com | 1 year ago
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Http status 500

    Oracle Community | 1 decade ago | 843836
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0)
  6. 0
    samebug tip
    This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

  1. rafael 2 times, last 2 months ago
  2. andyglick 3 times, last 3 months ago
34 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

    sun/tools/javac/Main (Unsupported major.minor version 48.0)

    at java.lang.ClassLoader.defineClass0()
  2. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass0(Native Method)
    2. java.lang.ClassLoader.defineClass(Unknown Source)
    3. java.security.SecureClassLoader.defineClass(Unknown Source)
    4. java.net.URLClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.access$100(Unknown Source)
    6. java.net.URLClassLoader$1.run(Unknown Source)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(Unknown Source)
    8 frames
  3. Glassfish Core
    StandardClassLoader.loadClass
    1. org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:671)
    2. org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1090)
    3. org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:989)
    4. org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1073)
    5. org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:989)
    5 frames
  4. Java RT
    ClassLoader.loadClassInternal
    1. java.lang.ClassLoader.loadClassInternal(Unknown Source)
    1 frame
  5. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
    2. org.apache.jasper.compiler.Compiler.compile(Compiler.java:271)
    3. org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
    4. org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
    5. org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
    6. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    7. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    7 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  7. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    4. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    6. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    8. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    11. org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    12. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    13. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    14. org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    15. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    16. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    17. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    18. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    19. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    20. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    21. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    22. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    23. org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    24. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    25. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    25 frames
  8. org.apache.catalina
    HttpProcessor.run
    1. org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    2. org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    2 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame