我正在尝试对数据库架构进行逆向工程,我收到以下错误:
Command execution error: org.hibernate.cfg.Configuration.buildSettings(Lorg/hibernate/service/ServiceRegistry;)Lorg/hibernate/cfg/Settings;
> Building 85% > :dbReverseEngineer :dbReverseEngineer FAILED
> Building 85%
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':dbReverseEngineer'.
Process 'command '/usr/lib/jvm/java-8-openjdk/bin/java'' finished with non-zero exit value 1
Grails版本:
| Grails Version: 3.2.6
| Groovy Version: 2.4.7
| JVM Version: 1.8.0_141
Gradle版本:
Gradle 3.4.1
答案 0 :(得分:1)
该插件最后一次发布于Grails 3.0.x.使用gorm 4,我很确定。 (Grails 3.1的文档广告"什么是新的"包括gorm 5,Grails 3.2广告gorm 6)。也许Burt会参与其中,但就我所知,这个插件在Grails 3.2.x中不会被重新发布。
您可以尝试在3.0.11中运行它,只是为了对您的类进行逆向工程,然后将它们移到您的实际项目中,作为一种解决方法。