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 | 5 months ago
  1. 0

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

    coderanch.com | 5 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
  2. 0

    After upgrade to 3.0.4 (groovy upgrade from 1.8.7 to 1.8.8), the nexusPush.groovy plugin generate the following NPE when compiled: {code} 2013-11-05 18:43:50,754 [art-groovy-plugins-reloader] [ERROR] (o.a.a.p.GroovyRunnerImpl:232) - Error loading script from '/data/aolback/homes/springsource/etc/plugins/nexusPush.groovy'. org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during conversion: java.lang.NullPointerException java.lang.NullPointerException 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.control.ErrorCollector.addException(ErrorCollector.java:155) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.control.SourceUnit.addException(SourceUnit.java:345) ~[groovy-1.8.8.jar:1.8.8] at groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:290) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:308) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:846) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:550) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:526) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:503) ~[groovy-1.8.8.jar:1.8.8] at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306) ~[groovy-1.8.8.jar:1.8.8] at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287) ~[groovy-1.8.8.jar:1.8.8] at groovy.util.GroovyScriptEngine$ScriptClassLoader.parseClass(GroovyScriptEngine.java:236) ~[groovy-1.8.8.jar:1.8.8] at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:267) ~[groovy-1.8.8.jar:1.8.8] at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:214) ~[groovy-1.8.8.jar:1.8.8] at groovy.util.GroovyScriptEngine.loadScriptByName(GroovyScriptEngine.java:509) ~[groovy-1.8.8.jar:1.8.8] at org.artifactory.addon.plugin.GroovyRunnerImpl.loadScript(GroovyRunnerImpl.java:260) [artifactory-addon-plugins-3.0.4.jar:na] at org.artifactory.addon.plugin.GroovyRunnerImpl.getScripts(GroovyRunnerImpl.java:222) [artifactory-addon-plugins-3.0.4.jar:na] at org.artifactory.addon.plugin.GroovyRunnerImpl.reloadScripts(GroovyRunnerImpl.java:143) [artifactory-addon-plugins-3.0.4.jar:na] at org.artifactory.addon.plugin.GroovyRunnerImpl$ScriptsReloader.run(GroovyRunnerImpl.java:330) [artifactory-addon-plugins-3.0.4.jar:na] 2013-11-05 18:43:50,755 [art-groovy-plugins-reloader] [INFO ] (o.a.a.p.GroovyRunnerImpl:220) - Loading script from 'pgpSign.groovy'. {code}

    JFrog JIRA | 3 years ago | Frederic Simon
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during conversion: java.lang.NullPointerException java.lang.NullPointerException 1 error
  3. 0

    Plugin uses deprecated ApplicationHolder class which has now been removed in Grails 2.4

    GitHub | 3 years ago | graemerocher
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: _AssetCompile_groovy: 2: unable to resolve class org.codehaus.groovy.grails.commons.ApplicationHolder @ line 2, column 1. 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Plugin not working with Grails 2.3

    GitHub | 3 years ago | tbarnier
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: _NgGenerate_groovy: 60: unable to resolve class DefaultGrailsTemplateGenerator @ line 60, column 1. 1 error
  6. 0

    Bug when it tries puppet-jenkins tries to create a user

    GitHub | 1 year ago | Asher256
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: RemoteClass: 668: unable to resolve class FileCredentialsImpl @ line 668, column 16. cred = new FileCredentialsImpl( ^ 1 error

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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