pbarker
10/23/2024, 10:47 AMdbm-gorm-diff in Grails 6.2.1?
I'm using ./gradlew -i runCommand -Pargs="dbm-gorm-diff my-changes-script.groovy --add" but it's failing with:
Error Application class not found
(at least, that's the only 'error' I can see).
Grails 6.2.1, Java 17.0.1, project migrated from Grails 4 but based on a clean new-build.
The application property in build.gradle is there and I even added a springBoot mainClass property but simply won't run!pbarker
10/23/2024, 10:55 AMdbm-gorm-diff thats failing.pbarker
10/23/2024, 11:03 AM// developmentOnly("org.springframework.boot:spring-boot-devtools")
Ran my dbm-gorm-diff command and it ran through ok.
So it's bug in the spring-boot-devtools but that's ok - I'll just have to remember to comment it out/back in again each time. 😐James Fredley
10/23/2024, 1:55 PM./grailsw dbm-gorm-diff my-changes-script.groovy --add
or IntelliJ Run Grails Command.
dbm-gorm-diff my-changes-script.groovy --addpbarker
10/23/2024, 1:56 PM