Use this tag for version 3.3 only, use grails tag for general question about grails Web application framework
Questions tagged [grails-3.3]
109 questions
0
votes
2 answers
gson view unable to resolve domain class
I'm using grails 3.3.0 with rest api and gson views. I have the following setup...
Domain Class
package foo
@Resource(uri="/api/bars", readOnly = false, formats = ['json', 'xml'])
class Bar{
String firstName
String lastName
}
Controller:…

Michael J. Lee
- 12,278
- 3
- 23
- 39
0
votes
1 answer
How do I inject services into a Grails 3 command?
In a Grails 3 app, how do I create a CLI command that leverages the app's Service and Domain classes?
The following did not work:
grails create-app test-grails3-angular-cmd --profile=angular
cd server
grails create-command MyExample
Implement…

RMorrisey
- 7,637
- 9
- 53
- 71
-1
votes
1 answer
Issue with xss-sanitizer plugin in grails 3.3.x
I am using grails-xss-sanitizer in my grails application in v3.2.11. When I tried to upgrade my application to the latest 3.3.4. It reported below issue:
[2018-04-11 11:16:37,627] [main] ERROR o.s.b.SpringApplication -
Application startup…

Charu Jain
- 852
- 1
- 7
- 18
-1
votes
1 answer
Grails 2 and Grails 3 calling private method from other classes
I have observed one strange behaviour in grails 2.5.4 as well as grails 3.3.2/3/4 .
The issue I feel and face is they allow one class to call private method of another class and it's going on till the latest version of grails.
However only…

Kapil Arora
- 151
- 1
- 12