javax.servlet.ServletException

Cannot generate Class: java.lang.NoClassDefFoundError: com/sun/tools/javac/M ain Exception in thread "main"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web3955

  • via Oracle Community by 635505, 1 year ago
    Cannot generate Class: java.lang.NoClassDefFoundError: com/sun/tools/javac/M ain Exception in thread "main"
  • via Google Groups by Timothy G., 1 year ago
    sun/tools/javac/Main
  • via Google Groups by acidgerm, 1 year ago
    sun/tools/javac/Main
  • Stack trace

    • javax.servlet.ServletException: Cannot generate Class: java.lang.NoClassDefFoundError: com/sun/tools/javac/M ain Exception in thread "main" at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:569) at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:467) at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:614) at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:725) at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Unknown Source)

    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

    You’re the first here who have seen this exception.