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

gradle.org | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Import gradle 1.1 into eclipse - Old Forum - Gradle Forums

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