org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during semantic analysis: unable to locate the compiler com.sun.tools.javac.Main, please change your classloader settings : unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings

coderanch.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    problems running the app after plugin installation (Groovy forum at Coderanch)

    coderanch.com | 7 months ago
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during semantic analysis: unable to locate the compiler com.sun.tools.javac.Main, please change your classloader settings : unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings

    Root Cause Analysis

    1. org.codehaus.groovy.control.MultipleCompilationErrorsException

      startup failed: General error during semantic analysis: unable to locate the compiler com.sun.tools.javac.Main, please change your classloader settings : 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
      JavaAwareCompilationUnit.gotoPhase
      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:94)
      3 frames