| Author |
problems running the app after plugin installation
|
Maharaj thak
Greenhorn
Joined: Jul 29, 2010
Posts: 21
|
|
Hi All,
I am working with Grails 1.3.7.Everytime I install a plugin(Searchable,jQuery) I get a long trace of exceptions which start like this
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[groovyc] General error during semantic analysis: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
[groovyc]
[groovyc] java.lang.ClassNotFoundException: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
[groovyc] at org.codehaus.groovy.tools.javac.JavacJavaCompiler.findJavac(JavacJavaCompiler.java:190)
[groovyc] at org.codehaus.groovy.tools.javac.JavacJavaCompiler.compile(JavacJavaCompiler.java:49)
[groovyc] at org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit.gotoPhase(JavaAwareCompilationUnit.java:94)
Can somebody please help me out?The app works fine if I uninstall all the plugins.
Regards
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
|
Are you by any chance using OpenJDK or a JDK that isn't from Sun/Oracle?
|
My Blog | DZone Articles
|
 |
Maharaj thak
Greenhorn
Joined: Jul 29, 2010
Posts: 21
|
|
Greg
Thanks for the reply.For some reason changing JDK from 1.6 to 1.5 worked.
Regards
|
 |
Maharaj thak
Greenhorn
Joined: Jul 29, 2010
Posts: 21
|
|
Hi All
I have installed the latest version of activemq(5.5.0).It works fine with jdk 1.6 but not with jdk 1.5.My Grails(1.3.7) works with jdk1.5 but not with 1.6.Has anybody else faced any such problem?How did you solve it?
Regards
maharaj
|
 |
Maharaj thak
Greenhorn
Joined: Jul 29, 2010
Posts: 21
|
|
Hi All
Just did a grails compile from the command line with JAVA_HOME pointing to Java6 and its working now.
Regards
Maharaj
|
 |
 |
|
|
subject: problems running the app after plugin installation
|
|
|