arjangch opened a new issue, #1193:
URL: https://github.com/apache/grails-spring-security/issues/1193
### Expected Behavior
As per documentation, 11. Customization, I tried to generate login page GSP,
`grails s2ui-override auth`
### Actual Behaviour
but i get errors.
`Error Command [s2ui-override] error: class path resource
[classpath*:META-INF/templates/views/login/auth.gsp] cannot be opened because
it does not exist (Use --stacktrace to see the full trace)`
and
`| Error Command [s2ui-override] error: class path resource
[classpath*:META-INF/templates/views/login/auth.gsp] cannot be opened because
it does not exist (NOTE: Stack trace has been filtered. Use --verbose to see
entire trace.)
java.io.FileNotFoundException: class path resource
[classpath*:META-INF/templates/views/login/auth.gsp] cannot be opened because
it does not exist
at
org.grails.io.support.ClassPathResource.getInputStream(ClassPathResource.java:152)
at org.grails.io.support.SpringIOUtils.copy(SpringIOUtils.java:214)
at
org.grails.cli.profile.commands.io.FileSystemInteractionImpl.copy(FileSystemInteractionImpl.groovy:146)
at
org.grails.cli.profile.commands.io.FileSystemInteractionImpl.copy(FileSystemInteractionImpl.groovy)
at
org.grails.cli.profile.commands.script.GroovyScriptCommand.copy(GroovyScriptCommand.groovy:62)
at s2ui-override.run(s2ui-override.groovy:68)
at
org.grails.cli.profile.commands.script.GroovyScriptCommand.handle(GroovyScriptCommand.groovy:156)
at
org.grails.cli.profile.AbstractProfile.handleCommand(AbstractProfile.groovy:475)
at org.grails.cli.GrailsCli.handleCommand(GrailsCli.groovy:365)
at org.grails.cli.GrailsCli.handleCommand(GrailsCli.groovy:339)
at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:277)
at org.grails.cli.GrailsCli.main(GrailsCli.groovy:169)
at
org.apache.grails.cli.DelegatingShellApplication.main(DelegatingShellApplication.groovy:45)
| Error Command [s2ui-override] error: class path resource
[classpath*:META-INF/templates/views/login/auth.gsp] cannot be opened because
it does not exist`
### Steps To Reproduce
1. create Grails 7 app with plugins spring security and spring security UI
2. Use this command to generate login GSP
grails s2ui-override auth
### Environment Information
java=21.0.9-zulu
gradle=8.14.3
groovy=4.0.29
grails=7.0.2
### Example Application
https://github.com/arjangch/grails-project-helper/tree/main/example3
### Version
grails 7
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]