grails Questions

2

I'm looking for a best way to design a custom JSON response for RESTful API in Grails based on this presentation Design Beautiful REST + JSON APIs by Les Hazlewood. Here is my Domain class class ...
Syne asked 29/10, 2014 at 16:15

11

Solved

I can't debug my code in IntelliJ IDEA. When debug mode is active and running, but the breakpoints don't have that "v" checked that represents a valid and stoppable breakpoint. See the image: ...
Always asked 8/10, 2013 at 12:39

8

Solved

How do I convert a datetime field in Grails to just date, with out capturing the time? I need to do this for comparison with system date. class Trip { String name String city Date startDate ...
Unexacting asked 8/12, 2008 at 11:55

7

I get a strange error when I add a new property to message.properties file in my grails application during runtime. When I restart the application via the command line, or restart STS, this error d...

3

Solved

I have the following combobox: <g:select name="ticketType" from="${app.domain.enums.TicketType?.values()}" keys="${app.domain.enums.TicketType.values() }" value="${ticketInstance?.ticketType...
Conker asked 26/7, 2012 at 12:41

6

I try to do file upload from a JavaScript client to a JAX-RS Java server. I use the following REST upload function on my server: @POST @Produces('application/json') UploadDto upload( @Context Ht...
Vanpelt asked 11/9, 2014 at 22:1

5

Solved

I want to parse JSON data which is coming in like: { "212315952136472": { "id": "212315952136472", "name": "Ready", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/195762_212315952136...
Chronologist asked 14/7, 2011 at 3:15

2

I am using grails 2.0.3, database-migration (liquibase) plugin 1.1, and postgres 9.1. I am seeing what I think is the same issue described by these other users, but with wrinkles: problem runnin...
Acrolein asked 2/10, 2012 at 2:7

3

I'm having problems to deploy a plugin with the command maven-deploy on a remote repo. I installed the latest version of the Release plugin (2.0.2). I get this error: | Loading Grails 2.0.4 | Co...
Extremist asked 6/6, 2012 at 6:46

4

Solved

I've tried to configure a domain class like this: class Test { String data static constraints = { } static mapping = { data type: 'jsonb' } } This throws an exception (the reason, in t...
Decretal asked 14/2, 2015 at 20:27

4

Solved

I´m using chosen.js for Dropdowns in a form on a grails-environment. I want the users to be able to select an empty option, but somehow it is ignored. There must be a possibility to do this? Becau...
Cristobal asked 13/2, 2013 at 10:42

11

I'm getting this error when trying to resolve "Server failed to start for port 8080: Address already in use" Error executing script 8888: For input string: "" Can anybody help? Don't know what'...
Short asked 23/11, 2012 at 2:6

1

Solved

I'm working on containerizing an existing application built on grails. I've been able to successfully build the project within a debian:stretch image (yes, I know that's old, but the project was or...
Cabbagehead asked 23/12, 2020 at 21:44

3

Solved

Section 24.3 in Externalized Configuration indicates a .properties or .yml file can be used for external config, but I would like my external config to be a .groovy file just like my application.gr...
Vibrant asked 28/7, 2016 at 19:19

2

Solved

I'm following the Grails Spring Security Core tutorial in their documentation. When I reach 24.1.5.5, the problems start. I'm instructed to modify Bootstrap.groovy to the following, then run the ap...
Senecal asked 31/3, 2020 at 7:56

6

I recently added database-migration-plugin to my grails 3.0.11 app. The problem is when I try to run-app I get a following error: ERROR grails.boot.GrailsApp - Application startup failed Exception...
Kronfeld asked 1/2, 2016 at 14:7

8

Solved

I want to know the versions of the software used while developing the project, Suppose If there is an existing project In grails ,so I want to know the version of grails as well as version of Groov...
Asaph asked 30/5, 2014 at 11:29

3

Solved

i got this app from company's repo, and when i try to bootRun my app in Grails 3.1.3, i got this issue. The full stacktrace is below. What went wrong: Execution failed for task ':bootRun'. A...
Moonlit asked 11/9, 2018 at 6:37

16

Solved

After upgrading a Grails application from 2.2.0 to 2.2.1 I keep getting the following error when attempting to debug a Grails application from GGTS via Debug as... -> Grails Command (run-app): Err...
Aldredge asked 26/2, 2013 at 0:37

6

Solved

I have faced strange poblem while writing Grails application deployed on Tomcat. After creating simple test controller I want to write test contents in package com package com.domain.controller ...
Roehm asked 8/1, 2014 at 23:44

3

Solved

There is a new feature of getting timezone information in web request object. See 16.9.1 section in http://docs.spring.io/spring/docs/4.0.x/spring-framework-reference/html/mvc.html#mvc-timezone Bu...
Thiouracil asked 29/12, 2014 at 12:44

3

Solved

Is there any way how to support persistent mapping of java.time.ZoneId to string in Hibernate 5.1.1. It saves the ZoneId in binary form right now. I've just upgraded to Grails 3.2.1 which has Hibe...
Smokechaser asked 24/10, 2016 at 8:47

1

I am running an grails application for my project in IntelliJ and I have set the vm options to : -Dserver.port=8080 -Xms3g -Xmx3g -XX:-UseGCOverheadLimit -Xverify:none The logs are : Running...
Garage asked 15/6, 2020 at 11:1

4

Solved

I'm trying to create an async task that will not block the request. The user make the request, the task will start, and the controller will render "Job is running...", this is for avoid the request...
Dameron asked 16/9, 2014 at 20:53

2

2014-06-17 11:22:18,622 [Thread-11] ERROR compiler.GrailsProjectWatcher - Compilation Error: startup failed: General error during class generation: Method code too large! What is the solution? On...
Ani asked 17/6, 2014 at 5:28

© 2022 - 2024 — McMap. All rights reserved.