You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by "codeconsole (via GitHub)" <gi...@apache.org> on 2025/05/02 16:16:36 UTC

[I] Wrapper crashes and does not start if app contains application.groovy with an import statement [grails-core]

codeconsole opened a new issue, #14701:
URL: https://github.com/apache/grails-core/issues/14701

   To replicated behavior, add the following to any app:
   
   `/conf/application.groovy `
   ```groovy
   import org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter
   ```
   
   `build.gradle`
   ```groovy
   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
   ```


-- 
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: commits-unsubscribe@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org