Showing posts with label Grails. Show all posts
Showing posts with label Grails. Show all posts

Tuesday, 29 December 2009

Getting "No server JVM" exception while using STS's Eclipse-Grails plugin

If you are using STS's Grails Eclipse plugin and receive an exception like:

Error: No 'server' JVM at ...

this is mainly because of Eclipse instance's "Installed JREs" setting is pointing a JRE not a JDK. There two possible solutions for this error:
  • Select a JDK directory for "Installed JREs" setting
  • Copy "/jre/bin/server" directory from a JDK installation to "/jre/bin" directory of a JRE installation