java.lang.UnsupportedClassVersionError

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


Samebug tips4

Update "latest" to Java 8 on DockerHub.

You're using an older version of java with classes compiled for java7

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web4947

Solution icon of github
com/google/common/collect/ImmutableSet : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by GuilhermeFCardoso
, 1 year ago
com/google/common/util/concurrent/AtomicDouble : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by damiienB
, 1 year ago
com/google/common/util/concurrent/AtomicDouble : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by timchen100
, 1 year ago
com/google/common/util/concurrent/AtomicDouble : Unsupported major.minor version 52.0

Solution icon of googlegroups
com/google/appengine/repackaged/com/google/common/base/MoreObjects : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by gg4u
, 11 months ago
com/google/common/css/compiler/commandline/ClosureCommandLineCompiler : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by mziccard
, 11 months ago
com/google/cloud/datastore/emulator/CloudDatastore : Unsupported major.minor version 52.0

Solution icon of github
com/google/code/tvrenamer/view/UIStarter : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by mziccard
, 11 months ago
com/google/api/gax/testing/GCloudEmulatorRunner : Unsupported major.minor version 52.0

Solution icon of github
com/google/pubsub/flic/Driver : Unsupported major.minor version 52.0

Stack trace

  • java.lang.UnsupportedClassVersionError: com/google/common/collect/ImmutableSet : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:195) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.owasp.html.HtmlPolicyBuilder.<clinit>(HtmlPolicyBuilder.java:163) at teammates.common.util.Sanitizer.<clinit>(Sanitizer.java:24) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:191) at com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70) at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:63) at teammates.common.util.Url.addParamToUrl(Url.java:74) at teammates.ui.controller.ActionResult.appendParameters(ActionResult.java:101) at teammates.ui.controller.ActionResult.getDestinationWithParams(ActionResult.java:89) at teammates.ui.controller.ShowPageResult.send(ShowPageResult.java:54) at teammates.ui.controller.ControllerServlet.doPost(ControllerServlet.java:65) at teammates.ui.controller.ControllerServlet.doGet(ControllerServlet.java:43) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at teammates.storage.datastore.DatastoreFilter.doFilter(DatastoreFilter.java:29) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:128) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:48) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366) at com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349) at com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:95) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:508) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
Once, 8 months ago
334 more bugmates