binlecode / grails-appinfo

Apache License 2.0
1 stars 0 forks source link

Update for Grails 4 #22

Open jnunderwood opened 5 years ago

jnunderwood commented 5 years ago

This plugin cannot be used in a Grails 4 project yet. There is an error on app startup:

java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/DataSourceHealthIndicator
        at grails.plugin.appinfo.GrailsAppinfoGrailsPlugin$_doWithSpring_closure1.doCall(GrailsAppinfoGrailsPlugin.groovy:67)

Grails 4 now uses Spring Boot 2 and I think DataSourceHealthIndicator has changed packages to org.springframework.boot.actuate.jdbc. Obviously, there may be other, as yet unknown, issues as well when upgrading the plugin to Grails 4.

luisenricke commented 2 years ago

I had the same problem too