-
-
Notifications
You must be signed in to change notification settings - Fork 951
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
Grails4 Could not find matching constructor for InterceptedUrl #11384
Comments
Putting those mappings in YAML is out of the picture now, you should move to application.groovy file as described in plugin documentation. |
According to plugin documentation:
I could NOT find anything saying that some Grails3 behaviour was dropped that's why I consider it a bug. Would be nice if you can point me to the doc where you have seen such an info. Thanks. And by the way I know it works when put into application.groovy, but this should be put into migration info if it is really necessary. |
there https://grails-plugins.github.io/grails-spring-security-core/latest/#newInV3
|
With Anyway this is NOT a single map it is list of maps which should work fine according to this:
|
Ok. I see your point. Also checked the actual source for InterceptedUrl, which does not seem to have changed at all. Anyway, wherever the magic matching the |
Duplicate of grails/grails-spring-security-core#573 |
I have the same problem when using application.yml |
Task List
Steps to Reproduce
Expected Behaviour
Application should start without any problems.
Actual Behaviour
Exception is thrown:
groovy.lang.GroovyRuntimeException: Could not find matching constructor for: grails.plugin.springsecurity.InterceptedUrl(String, ArrayList, org.grails.config.NavigableMap$NullSafeNavigator)
Environment Information
Example Application
The text was updated successfully, but these errors were encountered: