Skip to content
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

Wrapper crashes and does not start if app contains application.groovy with an import statement #23

Open
codeconsole opened this issue Sep 18, 2024 · 1 comment

Comments

@codeconsole
Copy link

To replicated behavior, add the following to any app:

/conf/application.groovy

import org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter

build.gradle

dependencies  {
    // ...
    implementation 'org.springframework.security:spring-security-oauth2-client:5.8.14'
}
./grailsw
| Error Error occurred running Grails CLI: startup failed:
Script_6aeee2e21b7e85cf1a3c4edd08792e23.groovy: 1: unable to resolve class org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
 @ line 1, column 1.
  import org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
  ^

1 error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant