java.lang.NoClassDefFoundError: javax.net.ssl.HttpsURLConnection is a restricted class. Please see the Google App Engine developer's guide for more details.

google.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issue 9227 - googleappengine - App engine fails with rest easy client framework - Google App Engine - Google Project Hosting

    google.com | 6 months ago
    java.lang.NoClassDefFoundError: javax.net.ssl.HttpsURLConnection is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    Jboss Rest Easy client fails in google app engine

    Stack Overflow | 4 years ago | Govind
    java.lang.NoClassDefFoundError: javax.net.ssl.HttpsURLConnection is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 0

    Unable to use JRuby with google app engine due to use of sun.misc.Unsafe

    GitHub | 2 years ago | jaydonnell
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    System.procTime triggers Error in AppEngine environment

    GitHub | 3 years ago | akbertram
    java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory is a restricted class. Please see the Google App Engine developer's guide for more details.
  6. 0

    JNDI availability not correctly detected in Google App Engine

    GitHub | 3 years ago | rmartony
    java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine developer's guide for more details.

    11 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.NoClassDefFoundError

      javax.net.ssl.HttpsURLConnection is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.appengine.tools.development.agent.runtime.Runtime.reject()
    2. com.google.appengine
      Runtime.reject
      1. com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
      1 frame
    3. Apache HttpClient
      SSLSocketFactory.<clinit>
      1. org.apache.http.conn.ssl.SSLSocketFactory.<init>(SSLSocketFactory.java:255)
      2. org.apache.http.conn.ssl.SSLSocketFactory.<clinit>(SSLSocketFactory.java:166)
      2 frames
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:188)
      2 frames
    5. 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:64)
      2 frames
    6. Apache HttpClient
      AbstractHttpClient.execute
      1. org.apache.http.impl.client.DefaultHttpClient.createClientConnectionManager(DefaultHttpClient.java:219)
      2. org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:312)
      3. org.apache.http.impl.client.DefaultHttpClient.createHttpContext(DefaultHttpClient.java:254)
      4. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:618)
      5. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
      5 frames
    7. RESTEasy JAX-RS Implementation
      ClientRequest.put
      1. org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor.execute(ApacheHttpClient4Executor.java:109)
      2. org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:39)
      3. org.jboss.resteasy.plugins.interceptors.encoding.AcceptEncodingGZIPInterceptor.execute(AcceptEncodingGZIPInterceptor.java:40)
      4. org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:45)
      5. org.jboss.resteasy.client.ClientRequest.execute(ClientRequest.java:443)
      6. org.jboss.resteasy.client.ClientRequest.httpMethod(ClientRequest.java:677)
      7. org.jboss.resteasy.client.ClientRequest.put(ClientRequest.java:537)
      8. org.jboss.resteasy.client.ClientRequest.put(ClientRequest.java:542)
      8 frames
    8. com.livily.plugin
      RESTPlugin.preChat
      1. com.livily.plugin.RESTPlugin.requestURL(RESTPlugin.java:203)
      2. com.livily.plugin.RESTPlugin.preChat(RESTPlugin.java:92)
      2 frames
    9. org.apache.jsp
      test_jsp._jspService
      1. org.apache.jsp.test_jsp._jspService(test_jsp.java:136)
      1 frame
    10. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    12. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      3 frames
    13. AppEngine Testing
      PrivilegedJspServlet$2.run
      1. com.google.appengine.tools.development.PrivilegedJspServlet.access$101(PrivilegedJspServlet.java:23)
      2. com.google.appengine.tools.development.PrivilegedJspServlet$2.run(PrivilegedJspServlet.java:59)
      2 frames
    14. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    15. AppEngine Testing
      PrivilegedJspServlet.service
      1. com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:57)
      1 frame
    16. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    17. 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
    18. com.google.appengine
      DevSocketFilter.doFilter
      1. com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
      1 frame
    19. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    20. AppEngine Testing
      ResponseRewriterFilter.doFilter
      1. com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
      1 frame
    21. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    22. AppEngine Testing
      HeaderVerificationFilter.doFilter
      1. com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
      1 frame
    23. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    24. com.google.appengine
      ServeBlobFilter.doFilter
      1. com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:61)
      1 frame
    25. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    26. Google AppEngine
      TransactionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      1 frame
    27. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    28. AppEngine Testing
      StaticFileFilter.doFilter
      1. com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
      1 frame
    29. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    30. AppEngine Testing
      BackendServersFilter.doFilter
      1. com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
      1 frame
    31. 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
    32. AppEngine Testing
      DevAppEngineWebAppContext.handle
      1. com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:94)
      1 frame
    33. Jetty Server
      HandlerWrapper.handle
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      1 frame
    34. AppEngine Testing
      JettyContainerService$ApiProxyHandler.handle
      1. com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:409)
      1 frame
    35. 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
    36. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame