java.lang.ClassNotFoundException: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings

gradle.org | 7 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

    Import gradle 1.1 into eclipse - Old Forum - Gradle Forums

    gradle.org | 7 months ago
    java.lang.ClassNotFoundException: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings

    1 unregistered visitors

    Root Cause Analysis

    1. 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()
    2. Groovy
      FileSystemCompilerFacade.main
      1. org.codehaus.groovy.tools.javac.JavacJavaCompiler.findJavac(JavacJavaCompiler.java:190)
      2. org.codehaus.groovy.tools.javac.JavacJavaCompiler.compile(JavacJavaCompiler.java:49)
      3. org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit.gotoPhase(JavaAwareCompilationUnit.java:92)
      4. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:514)
      5. org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:483)
      6. org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:60)
      7. org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:216)
      8. org.codehaus.groovy.tools.FileSystemCompiler.commandLineCompile(FileSystemCompiler.java:149)
      9. org.codehaus.groovy.tools.FileSystemCompiler.commandLineCompileWithErrorHandling(FileSystemCompiler.java:179)
      10. org.codehaus.groovy.ant.FileSystemCompilerFacade.main(FileSystemCompilerFacade.java:27)
      10 frames