-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.0.0 cannot be run with Java 17 (DefaultSecurityConfig.groovy - Unsupported class file major version 61) #737
Comments
Thank you for taking time to report this issue. I think it may be that the plugin is using some specific Groovy features which are incompatible with Java 17. However, we will investigate further to see what is the problem. Meanwhile, I would appreciate if you could share a sample application or steps to reproduce the problem. |
@puneetbehl Thank you for looking into this. I built an example app. You can follow these steps to reproduce the issue: [requirements:
An exception is thrown when tomcat ist starting up:
|
Expected Behavior
We are able to run Grails 5 apps with JDK 17 (
tomcat:9.0.60-jdk17-corretto
) but since using grails-spring-security-core 5.0.0 Java throws an error:Grails 5.1.4 runs with JDK 17 but the spring security plugin might have been build with an old JDK (or DefaultSecurityConfig was never touched).
Actual Behaviour
No response
Steps To Reproduce
No response
Environment Information
Docker-Image: tomcat:9.0.60-jdk17-corretto
Example Application
No response
Version
5.1.4
The text was updated successfully, but these errors were encountered: