Questions tagged as 'grails'

0
answers

Error Context is read only in grails 2.4.3

I am trying to use GROBID ( link ) in an application in grails. I tried the basic example that comes in the Java documentation from the Netbeans and it works fine, but in grails I get the error: | Error 2016-03-13 16:37:59,899 [http-bio-8080-e...
asked by 13.03.2016 / 21:54
1
answer

Differences between Maven and Gradle

I'm starting with Gradle and I was wondering what are the main differences with Maven when starting a new project in groovy / grails. Note: The question can be considered as opinion and be moderate, I would appreciate it if you help me unders...
asked by 17.09.2016 / 21:18
1
answer

Error creating Grails project in NetBeans

The error I have is the following: Warning | Unrecognized flag: non-interactive. Resolving dependencies.. Error | Specify an application name or use --inplace to create an application in the current directory I am following the steps on the...
asked by 30.09.2018 / 22:13
1
answer

how to use an existing class in java from grails?

I have a class in java that I intend to use from grails, what is the best way to do it?     
asked by 08.05.2016 / 18:17
0
answers

Problems installing Grails

I make an inquiry, I download the OpenJava 7 and Grails 2.5.1, I'm working on ubuntu. I went to the / etc / environment file and added the variables: JAVA_HOME="location of the java folder" GRAILS_HOME="location of the grails folder"...
asked by 22.08.2018 / 15:25
1
answer

Grails method update, instance.properties = params

What is the properties method for? Quick example def update(){ def albumInstance = Album.get(params.id) albumInstance.properties = params albumInstance.save(flush:true) redirect(action: "show", id: albumInstance.id) }     
asked by 10.02.2017 / 00:02
0
answers

Test connection to a SPARQL Endpoint

Community: Recently I have been working on the development of a webapp in grails, and I need to add the "Test Connection" functionality to see if a URL that is inserted corresponds to a SPARQL Endpoint with data, and I validated with a regular e...
asked by 20.05.2016 / 03:26
2
answers

Error: the main class org.codehaus.groovy.grails.cli.support.GrailsStarter was not found or loaded

I have installed the new version of Grails 3.1.6 and I am using Eclipse Mars 2 Release (4.5.2). When I try to create a new Grails project I get the following error message: Command terminated with an exception: org.grails.ide.eclipse.longrunni...
asked by 05.05.2016 / 11:52
3
answers

Inheritance in grails

I am developing an application in grails and I need to represent an inheritance between two entities. The problem is that when I establish the relationship: class Documento { static mapping = { tablePerHierarchy false } class Tesi...
asked by 30.03.2016 / 23:28
2
answers

Grails does not concern sequencia

in my database I have the following: id bigint NOT NULL DEFAULT nextval('seq_telefonosnormalizados'::regclass), While in grails I have the following: static mapping = { id column:"id", sqlType:"long", generator:'sequence', params:...
asked by 19.10.2018 / 19:58