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

coderanch.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem with mail api on google app engine. (Java Servers forum at Coderanch)

    coderanch.com | 1 year ago
    java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    Problem with mail api on google app engine. (Java Servers forum at Coderanch)

    coderanch.com | 9 months ago
    java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.<init>(AbstractAutowireCapableBeanFactory. java:121) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.<init>(AbstractAutowireCapableBeanFactory. java:168) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.DefaultL istableBeanFactory. <init>(DefaultListableBeanFactory.java:163) ~[spring-beans-3.1.4.RELEASE.jar:3.1 .4.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.createBeanFactory(AbstractRefreshableApplicat ionContext.java:194) ~[spring- context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplica tionContext.java:127) ~[spring -context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:5 37) ~[spring-context-3.2.2.REL EASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.refres h(AbstractApplicationContext.java:451) ~[spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebA pplicationContext(ContextLoader.java:389) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.R ELEASE] at org.springframework.web.context.ContextLoader.init WebApplicationConte xt(ContextLoader.java:294) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextInitiali zed(ContextLoaderListener.java:112) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex t.java:4791) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInte rnal(StandardContex t.java:5285) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  6. 0

    Grails : production server only : spring.ReloadAwareAutowireCapableBeanFactory

    Stack Overflow | 3 years ago | Snite
    java.lang.NoClassDefFoundError: org/springframework/orm/jpa/EntityManagerFactoryUtils

    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

      java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.apphosting.runtime.security.shared.stub.java.net.Socket.<clinit>()
    2. com.google.apphosting
      Socket.<clinit>
      1. com.google.apphosting.runtime.security.shared.stub.java.net.Socket.<clinit>(Socket.java)
      1 frame
    3. JavaMail API (compat)
      SMTPTransport.protocolConnect
      1. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:261)
      2. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
      3. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1511)
      4. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453)
      4 frames
    4. JavaMail API
      Transport.send
      1. javax.mail.Service.connect(Service.java:248)
      2. javax.mail.Service.connect(Service.java:91)
      3. javax.mail.Service.connect(Service.java:76)
      4. javax.mail.Transport.send(Transport.java:94)
      5. javax.mail.Transport.send(Transport.java:48)
      5 frames
    5. com.twisters.action
      MailTest.execute
      1. com.twisters.action.admin.MailTest.execute(MailTest.java:36)
      1 frame
    6. Struts Core
      ActionCommandBase.execute
      1. org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
      2. org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
      3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
      3 frames
    7. Commons Chain
      ChainBase.execute
      1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
      3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      3 frames
    8. Struts Core
      ComposableRequestProcessor.process
      1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
      1 frame
    9. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      2 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      2 frames
    11. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      2 frames
    12. com.google.apphosting
      SaveSessionFilter.doFilter
      1. com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
      1 frame
    13. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    14. Google AppEngine
      TransactionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      1 frame
    15. Jetty Server
      WebAppContext.handle
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      6 frames
    16. com.google.apphosting
      AppVersionHandlerMap.handle
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:237)
      1 frame
    17. Jetty Server
      HttpConnection$RequestHandler.headerComplete
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      2. org.mortbay.jetty.Server.handle(Server.java:313)
      3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
      4. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
      4 frames
    18. com.google.apphosting
      RpcRequestParser.parseAvailable
      1. com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
      1 frame
    19. Jetty Server
      HttpConnection.handle
      1. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
      1 frame
    20. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:125)
      1 frame
    21. appengine-managed-runtime
      JavaRuntime.handleRequest
      1. com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:235)
      1 frame
    22. Google AppEngine
      RuntimePb$EvaluationRuntime$6.handleBlockingRequest
      1. com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:4755)
      2. com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:4753)
      2 frames
    23. com.google.net
      Server$2.run
      1. com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
      2. com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:359)
      3. com.google.net.rpc.impl.Server$2.run(Server.java:800)
      3 frames
    24. Google tracing
      LocalTraceSpanBuilder.internalContinueSpan
      1. com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
      2. com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:510)
      2 frames
    25. com.google.net
      RpcService.runUntilServerShutdown
      1. com.google.net.rpc.impl.Server.startRpc(Server.java:756)
      2. com.google.net.rpc.impl.Server.processRequest(Server.java:348)
      3. com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:459)
      4. com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
      5. com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
      6. com.google.net.async.Connection.handleReadEvent(Connection.java:419)
      7. com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:762)
      8. com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
      9. com.google.net.async.EventDispatcher.loop(EventDispatcher.java:101)
      10. com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
      10 frames
    26. appengine-managed-runtime
      JavaRuntime$RpcRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:373)
      1 frame
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame