grails Questions
6
Solved
I'm currently using a basic text editor to write my grails code. Does anyone know of a program that will automatically format code with indentation similar to indent does for C? I'd rather us...
Xanthophyll asked 24/6, 2009 at 13:18
0
I try to upload a file with a size greater than 128kb but I always get (Grails 4)
org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size ...
4
Solved
I have a problem with Grails Session. I was thinking about having a Service Class for my session handling. So I created a class called "SessionService" (under grails-app/services/grails/).
class ...
Thornton asked 15/8, 2011 at 7:36
2
Solved
I have a service running on this url: http://localhost:8888
I get results from this service by invoking it like this:
http://localhost:8888/colors?colorname=red&shade=dark
and I get the re...
2
Solved
Getting error in Scheduler Dependency i'm using grails4 :
Anyone let me know correct dependency for scheduler
dependencies {
compile "org.grails.plugins:quartz:2.0.1"
}
and also tried this:
d...
Cabrales asked 10/4, 2020 at 16:0
5
Solved
What would be the way to determine the current OS a Jenkins pipeline is running?
Context: I'm building a shared Jenkins pipeline script that should run on all platforms (windows, OSX, linux) and e...
Reiter asked 22/5, 2017 at 6:16
5
Solved
I'm consuming an external REST service that provides all content as UTF-8 encoded.
For some reason my application cannot properly handle the response. If I dump the response I will se things like...
Lello asked 12/2, 2015 at 15:16
11
Solved
In an application I am developing RESTful API and we want the client to send data as JSON. Part of this application requires the client to upload a file (usually an image) as well as information ab...
Cabaret asked 3/11, 2010 at 2:7
2
I am not able to build my 2.3.7 grails projects since the maven central repository has moved to https.
I tried the recommandations on this post : Requests to http://repo1.maven.org/maven2/ return a...
2
Solved
I'm trying to figure out how to plug an Angular 2 frontend (running on localhost:4200) into a Grails 3 backend (running on localhost:8080) so I need to enable CORS support in the grails app.
I fou...
Gouty asked 7/10, 2016 at 8:5
10
Solved
We've been using Grails for a little while now and have been through a few Grails versions now. We don't always want to migrate our 'older' apps immediately but often use a newer version for new de...
3
Solved
I'm confused. I'm developing a grails based internal tool for my company. One component in this tool is a simple issue tracker (a Helpdesk feature). I have domain objects such as Problem, Question ...
7
Solved
I'm storing JodaTime DateTime field to timestamptz column by using org.jadira.usertype:usertype.jodatime:1.9. App server has +4 time zone. DB server +9 time zone. new DateTime() results in ${curren...
Moskow asked 9/4, 2012 at 15:16
1
I try to deploy my war file.
But after success deployment.
I get this log:
[root@dfdfdf bin]# export JAVA_HOME="/usr/java/jdk1.8.0_112/"
[root@dfdfdfdbin]# ./startup.sh
Using CATALINA_BASE: /roo...
Haymo asked 6/2, 2017 at 8:9
3
Solved
i am trying to get i18n localisation working on an Grails/Groovy enum,
public enum Notification {
GENERIC(0),
CONFIRM_RESERVATION(100),
CONFIRM_ORDER(200),
CONFIRM_PAYMENT(300),
final int id...
Chasidychasing asked 27/9, 2011 at 15:36
2
Solved
Occasionally, when making some updates to a Grails unit test, I will run into an error along the following lines:
BUG! exception in phase 'instruction selection' in source unit ... unexpected Null...
Plausive asked 21/9, 2015 at 21:14
4
When you create a new grails application, the default logback.groovy file (and almost every example of a logback.groovy, even Mr Haki's example) contains the following code, which I have simplified...
Obeisance asked 19/4, 2016 at 15:44
3
Solved
In my Grails 4 app, log.info("log message") doesn't show log, but log.error("log message") does.
How do I change the log level from error to info in Grails 4?
Providence asked 3/1, 2020 at 21:58
8
Solved
I have a problem with the mapping of Oracle Float double precision datatype to Java Double datatype. The hibernate schema validator seems to fail when the Java Double datatype is used.
org.hiberna...
Oulu asked 26/3, 2010 at 16:36
3
I have a payment form as follows
<body>
<g:if test="${flash.message}">
<div class="message">${flash.message}</div>
</g:if>
<div class="content">
<h1>...
Karyokinesis asked 11/3, 2018 at 7:35
6
Solved
I'm using the g:paginate tag to create pagination links for my list page. I'd like to use the bootstrap pagination unordered list for the UI of the tag. How can I add that?
The bootstrap paginati...
Countersink asked 29/9, 2014 at 8:8
3
Solved
I need to perform a null or empty check on a collection; I think that !members?.empty is incorrect. Is there a groovier way to write the following?
if (members && !members.empty) {
// Some...
1
We are using Spring Security plugin version 1.2.7.3 with Grails 2.2.1.
In my Config.groovy, I do:
grails.plugins.springsecurity.auth.ajaxLoginFormUrl = "/mylogin/authAjax"
thinking that, when t...
Deckhouse asked 14/4, 2014 at 16:10
2
I want to add this custom header to every response on my rest API:
"customHeader": "foo"
For this, I have created a grails interceptor that matches every controller and allows me to modify the r...
5
Solved
as a tcl developer starting with groovy, I am a little bit surprised about the list and map support in groovy. Maybe I am missing something here.
I am used to convert between strings, lists and ar...
Sharpsighted asked 6/2, 2010 at 9:3
© 2022 - 2024 — McMap. All rights reserved.