Skip to main content
0 votes
0 answers
31 views

In my Grails 6 project, I'd like to add an additional feature to select domain classes, so I defined a custom trait. trait MyDomainClassTrait<D> implements GormEntity<D> {} // domain ...
ilPittiz's user avatar
  • 812
2 votes
1 answer
41 views

I have a Grails 6 application that uses an external config.yml file to configure things such as the credentials for the datasources. I'm working on upgrading to Grails 7 and I'm running into the same ...
Mike's user avatar
  • 69
Advice
0 votes
0 replies
19 views

In grails domain objects you can have a default sort order: class Airport { … static hasMany = [flights: Flight] static mapping = { flights sort: 'number', order: 'desc' } }...
xpusostomos's user avatar
  • 1,696
0 votes
1 answer
66 views

I'm upgrading a Grails 6 project to Grails 7 (v7.0.0). The project has a few interceptors. Interceptor properties such as matchAll, request/response and HIGHEST_PRECEDENCE cannot be resolved for ...
Mike's user avatar
  • 69
0 votes
1 answer
53 views

While upgrading a Grails 4 application to Grails 5, I encountered a failure in one of the json views (.gson file) when specifying a field having an empty map. In Grails 4, this worked fine, but in ...
Ryan H's user avatar
  • 903
2 votes
0 answers
54 views

I have an application written in Grails 6.x. I use spring-security-core and spring-security-ldap plugins to authenticate against an Active Directory server. I have set a timeout of 5 minutes, and once ...
NiBE's user avatar
  • 955
0 votes
1 answer
43 views

I’m using Grails 2.5.6 and I created a simple Person domain and a PersonController. When I try to call POST /person/add, I get the following error: Method on class [com.demo.Person] was used outside ...
İrem Ertürk 1's user avatar
0 votes
0 answers
45 views

This is my controller package example.infra.adapters.input.api.v1.endpoints import example.aplication.services.authentication.LoginAuthenticator import example.aplication.dtos.authentication....
David P's user avatar
0 votes
1 answer
105 views

I started to test Docker to run my application and I had noticed my memory consume when using "docker stats". I see the memory used from the container increasing like, every f5 on my page or ...
David P's user avatar
2 votes
1 answer
119 views

I have a Grails 3.1 application that uses Spring Boot version 1.3.7.RELEASE. It's deployed on AWS Elastic Beanstalk using the platform "Tomcat 9 with Corretto 8 running on 64bit Amazon Linux 2/4....
Victor Soares's user avatar
0 votes
0 answers
56 views

I'm using Micronaut declarative client with Grails. When I make request with status forbidden - it raises HttpClientResponseException. I want to just catch it, but RecoveryInterceptor write to Error ...
user2572790's user avatar
0 votes
1 answer
60 views

I'm using a findBy query in a grails/gorm project, where there is usually only one result (and I only ever want one result). However, there could occasionally be two (or even three theoretically, ...
Rosensweig's user avatar
2 votes
1 answer
79 views

I'm moving my team's project from Grails 7.0.0-M1 to 7.0.0-M4 and it kinda works, but I'm new to Grails/Groovy/Gradle/... and curious so I run ./gradlew dependencies | less and notices a block like ...
Stefano Canepa's user avatar
0 votes
1 answer
66 views

In Grails 6.2.3, I have to handle request with .gsp extension like http://localhost:8080/report/view.gsp?a=b I can't map this URL to controller, action. It will always return error 404. The default ...
Meam's user avatar
  • 276
2 votes
0 answers
66 views

I'm using Grails 6.2.0 with the Spring Security Core 6.1.2 and Spring Security Rest 5.0.0 plugins. I configured the filters as recommended in the documentation (or at least how I understood it): ...
nicu's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
1988