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

Solutions on the web

via Stack Overflow by kiran reddy
, 1 year ago
unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
via heapoverflow.me by Unknown author, 1 year ago
unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
via gradle.org by Unknown author, 1 year ago
unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
via Coderanch by Maharaj thak, 1 year ago
unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
via coderanch.com by Unknown author, 2 years ago
unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
via nabble.com by Unknown author, 1 year ago
unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
java.lang.ClassNotFoundException: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings	at org.codehaus.groovy.tools.javac.JavacJavaCompiler.findJavac(JavacJavaCompiler.java:190)	at org.codehaus.groovy.tools.javac.JavacJavaCompiler.compile(JavacJavaCompiler.java:49)	at org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit.gotoPhase(JavaAwareCompilationUnit.java:97)	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:513)	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:482)	at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:60)	at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:216)	at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:935)	at org.codehaus.groovy.grails.compiler.Grailsc.compile(Grailsc.java:79)	at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:629)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:622)	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)	at groovy.util.AntBuilder.performTask(AntBuilder.java:260)	at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:220)	at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)	at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:170)	at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)	at org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99)	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)	at org.codehaus.groovy.grails.compiler.GrailsProjectCompiler.compile(GrailsProjectCompiler.groovy:263)	at org.codehaus.groovy.grails.compiler.GrailsProjectCompiler$compile$0.callCurrent(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)	at org.codehaus.groovy.grails.compiler.GrailsProjectCompiler.compile(GrailsProjectCompiler.groovy:234)	at org.codehaus.groovy.grails.compiler.GrailsProjectCompiler$compile.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)	at _GrailsCompile_groovy$_run_closure2_closure6_closure7.doCall(_GrailsCompile_groovy:48)