You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "fdevans (via GitHub)" <gi...@apache.org> on 2025/12/14 17:49:33 UTC
Re: [I] Using grails-micronaut will not let you run java --jar build/libs/app.jar [grails-core]
fdevans commented on issue #15207:
URL: https://github.com/apache/grails-core/issues/15207#issuecomment-3651753319
We're experiencing this same issue on Grails 7.0.4 when running as a WAR file.
Configuration:
- Grails 7.0.4
- Java 17
- micronautPlatformVersion=4.9.2 (as per upgrade docs section 12.4)
- grails-micronaut plugin added per documentation
The root cause appears to be the version conflict:
- grails-bom:7.0.4 → micronaut-platform:4.10.1 (Micronaut Core 4.x)
- grails-micronaut:7.0.4 → micronaut-spring-bom:5.11.0 (requires Micronaut 5.x)
ApplicationEventPublisher bean changed between Micronaut 4.x and 5.x.
Workaround: Commenting out grails-micronaut allows the application to start successfully.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org