Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

  2. ,
    Expert tip

    This might be an issue with the file location in the Spark submit command. Try it with

    spark-submit --master spark://master:7077 \
         hello_world_from_pyspark.py {file location}
    
    

Solutions on the web

via Oracle Community by 807593, 1 year ago
via Google Groups by Lisa Gerlich, 2 years ago
via hivmr.com by Unknown author, 2 years ago
java.lang.ClassNotFoundException: sun.tools.javac.Main	at java.net.URLClassLoader$1.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at java.net.FactoryURLClassLoader.loadClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at java.lang.ClassLoader.loadClassInternal(Unknown Source)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Unknown Source)	at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:146)	at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:889)	at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)	at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)	at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)	at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)	at java.lang.Thread.run(Unknown Source)