olavgg opened a new issue, #14519:
URL: https://github.com/apache/grails-core/issues/14519
### Steps to Reproduce
1. Build the application
### Expected Behaviour
No compile error
### Actual Behaviour
```
/home/olav/dataquerybug/build/tmp/compileGroovy/groovy-java-stubs/com/example/BookService.java:13:
error: element value must be a constant expression
@grails.gorm.services.Query(value=null) java.util.List<java.lang.String>
getTitles();
^
1 error
startup failed:
Compilation failed; see the compiler error output for details.
1 error
FAILURE: Build failed with an exception.
```
### Environment Information
- **Operating System**: Ubuntu 18.04
- **GORM Version:** 7.0.0
- **Grails Version ** 4:00
- **JDK Version:** Openjdk 11
### Example Application
https://github.com/olavgg/dataquerybug
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]