You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. The problem is due to a limitation of the CLI's ExtendedGroovyClassLoader.
ExtendedGroovyClassLoader keeps track of the resources for classes that have been compiled from Groovy source code in its classResources map but then only uses that map in getResourceAsStream. The map is not considered when a call to findResources is made. In your example findResources is called with org/goodjob/demo/. A URL needs to be returned that will then allow Spring Framework's resource pattern resolver to find the classes in the org.goodjob.demo package.
You can work around the problem by compiling your CLI application and then running it as a jar file:
the Spring CLI not work well with
spring-data-jpa
I write a demo, name it
1.groovy
Spring CLI v2.1.2.RELEASE
The text was updated successfully, but these errors were encountered: