File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes problems running the app after plugin installation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "problems running the app after plugin installation" Watch "problems running the app after plugin installation" New topic
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
 
IntelliJ Java IDE
 
subject: problems running the app after plugin installation
 
Threads others viewed
Help with Ant build
save export settings in eclipse?
Eclipse Maven project: Unable to locate the Javac Compiler
Simple Ant Build
Ant javac
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture