java.lang.UnsupportedClassVersionError: com/google/common/collect/ImmutableSet : Unsupported major.minor version 52.0

GitHub | nikhilmudholkar | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    From v1.2 and beyond, ElasticSearch doesn't support Java 6 anymore, consider upgrading to Java 7 or any newer version or getting an older version of ElasticSearch.
  2. 0
    samebug tip
    Update "latest" to Java 8 on DockerHub.
    via Google Groups by Marcus Haebler
  3. 0
    samebug tip
    You're using an older version of java with classes compiled for java7
    via GitHub by Athou
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Compile Mustache using Java 7?

    GitHub | 2 years ago | melvinma
    java.lang.UnsupportedClassVersionError: com/github/mustachejava/MustacheFactory : Unsupported major.minor version 52.0
  6. 0

    GitHub comment 847#145672564

    GitHub | 2 years ago | heuermh
    java.lang.UnsupportedClassVersionError: com/netflix/servo/tag/Tags : Unsupported major.minor version 52.0
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

    com/google/common/collect/ImmutableSet : 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.defineClass(ClassLoader.java:800)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    10 frames
  3. AppEngine Testing
    IsolatedAppClassLoader.loadClass
    1. com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:195)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    1 frame
  5. OWASP Java HTML Sanitizer
    HtmlPolicyBuilder.<clinit>
    1. org.owasp.html.HtmlPolicyBuilder.<clinit>(HtmlPolicyBuilder.java:163)
    1 frame
  6. teammates.common.util
    Sanitizer.<clinit>
    1. teammates.common.util.Sanitizer.<clinit>(Sanitizer.java:24)
    1 frame
  7. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:191)
    2 frames
  8. com.google.appengine
    Runtime.checkRestricted
    1. com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
    2. com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:63)
    2 frames
  9. teammates.common.util
    Url.addParamToUrl
    1. teammates.common.util.Url.addParamToUrl(Url.java:74)
    1 frame
  10. teammates.ui.controller
    ControllerServlet.doGet
    1. teammates.ui.controller.ActionResult.appendParameters(ActionResult.java:101)
    2. teammates.ui.controller.ActionResult.getDestinationWithParams(ActionResult.java:89)
    3. teammates.ui.controller.ShowPageResult.send(ShowPageResult.java:54)
    4. teammates.ui.controller.ControllerServlet.doPost(ControllerServlet.java:65)
    5. teammates.ui.controller.ControllerServlet.doGet(ControllerServlet.java:43)
    5 frames
  11. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  12. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    2 frames
  13. teammates.storage.datastore
    DatastoreFilter.doFilter
    1. teammates.storage.datastore.DatastoreFilter.doFilter(DatastoreFilter.java:29)
    1 frame
  14. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  15. com.google.appengine
    DevSocketFilter.doFilter
    1. com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
    1 frame
  16. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  17. AppEngine Testing
    ResponseRewriterFilter.doFilter
    1. com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:128)
    1 frame
  18. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  19. AppEngine Testing
    HeaderVerificationFilter.doFilter
    1. com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
    1 frame
  20. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  21. com.google.appengine
    ServeBlobFilter.doFilter
    1. com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
    1 frame
  22. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  23. Google AppEngine
    TransactionCleanupFilter.doFilter
    1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:48)
    1 frame
  24. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  25. AppEngine Testing
    StaticFileFilter.doFilter
    1. com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
    1 frame
  26. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    1 frame
  27. AppEngine Testing
    DevAppServerModulesFilter.doFilter
    1. com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366)
    2. com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349)
    3. com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116)
    3 frames
  28. Jetty Server
    WebAppContext.handle
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    6 frames
  29. AppEngine Testing
    DevAppEngineWebAppContext.handle
    1. com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:95)
    1 frame
  30. Jetty Server
    HandlerWrapper.handle
    1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    1 frame
  31. AppEngine Testing
    JettyContainerService$ApiProxyHandler.handle
    1. com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:508)
    1 frame
  32. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    2. org.mortbay.jetty.Server.handle(Server.java:326)
    3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    4. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
    5. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
    6. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    7. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    8. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    8 frames
  33. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    1 frame