Questions tagged as 'grails'

0
answers

grails cronExpression

I need you to help me with the following. I have a Job class, with the following definition static triggers = {             cron name: 'CoreDeleteEventsJob', cronExpression: "0 0/4 * 1/1 *? *", startDelay: 180000 The value of cronExpres...
asked by 27.11.2018 / 19:21
1
answer

Grails 3.3.8 does not reload the changes made to the project

I have a project with grails 3.3.8, the problem is that once I edit a driver or a gsp file, the changes are not reflected in the web browser even though the following message appears when it detects a change : Controller.groovy change, compili...
asked by 07.10.2018 / 01:51
0
answers

Declare variable with name equal to a value?

Many times I have needed to declare a variable and that its name is the value of another variable dynamically. Something like this: Example: JSONObject fieldGruop = new JSONObject() //objeto json //aqui itero por un array de objectos Field...
asked by 18.05.2018 / 19:56
0
answers

ERROR jvm.JVM - Problems copying constructor. Incompatible JVM? WITH GGTS3.6.4

I have installed: WINDOWS 10 64 BITS. G.G.T.S 3.6.4 JDK 8u171 When I run a project. It gives me this Error !.    .... Error   |   2018-05-13 14: 45: 48,190 [Thread-7] ERROR jvm.JVM - Problems copying constructor. Incompatible JVM?...
asked by 13.05.2018 / 22:26
0
answers

treatment of exemptions in grails?

I have a class programmed in java in the Netbeans, when I try to use the class in the grails, an exceptions handling error occurs. This is my code: package cermine; /** * Created by on 7/05/16. */ import pl.edu.icm.cermine.*;...
asked by 10.05.2016 / 22:25
1
answer

How to edit an image in GRAILS Groovy loaded in the database

I have the following problem. I generate a Domain photos: class Foto { byte[] foto String nombreFoto static constraints = { foto size: 0..1000000000 } } When I generate the controller and views with grails, and I raise the a...
asked by 02.04.2016 / 21:25