FAQ Database Discussion Community


Grails 3.0.2 missing generate-views

java,grails,command-line,ide,ggts
I'm new to grails and I'm trying to get my first HelloWorld from it. I can generate it with the controller, but I can't create a view because it isn't listed in the Grails (3.0.2) list of command. Because any IDE support grails 3.*, I can't create it by that...

Domain class mapping: datasource not working

oracle,grails,gorm,ggts
I have the following domain class that I need to map to a specific datasource (oracle), while all other my domain classes are mapped to the default dataSource (mysql, which works perfectly). My editor is GGTS and as you can notice "datasource" inside mapping appears underlined, as if it were...

Incompatible JVM in GGTS (Eclipse) and JAVA 1.8

java,eclipse,ggts
Having some problem with running a grails application in GGTS (eclipse) due to upgrade to Java 1.8. The stack starts with: Mar 05, 2015 3:51:31 PM org.springsource.loaded.jvm.JVM copyMethod SEVERE: Problems copying method. Incompatible JVM? java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at...

ggts, new groovy compiler version not available to project after installing for workspace

grails,groovy,ggts
Using GGTS 3.6.4 Just installed Groovy 2.4.1, and it shows up under Window=>Preferences; Groovy=>Compiler, and I see: "You are currently using Groovy Compiler version 2.4.1." However, when I go to Project=>Properties; Groovy Compiler, I see only these 4 options under "Groovy compile level for project XxxxYyyyyZzzz": I don't care 2.1...

Eclipse GGTS Debugger will not stop on breakpoints for Groovy code

eclipse,debugging,groovy,ggts
I am trying to debug a groovy project using debug as Groovy Script, but Eclipse is not stopping on the line. I have set a breakpoint on line 2, restarted Eclipse, cleaned and "Skip all Breakpoints" is not checked. This is the code, and it does execute. Any help would...