gpt4 book ai didi

hibernate - 运行micronaut 1.3.3尝试创建获取 hibernate 错误的简单应用

转载 作者:行者123 更新时间:2023-12-03 05:26:44 28 4
gpt4 key购买 nike

我不小心将hbm2ddl.auto设置为true。现在我不能摆脱它。我更改了application.properties文件中的属性,但不走运。

22:20:14.166 [main] ERROR io.micronaut.runtime.Micronaut - Error starting Micronaut server: Bean definition [org.grails.orm.hibernate.HibernateDatastore] could not be loaded: Error instantiating bean of type [org.grails.orm.hibernate.HibernateDatastore]: Unrecognized legacy `hibernate.hbm2ddl.auto` value : `true`

最佳答案

I accidently put hbm2ddl.auto to true. now i can't get rid of it. I changed properties in application.properties file no luck.



我无法重现。如果您可以共享一个演示问题的项目,请在 https://github.com/micronaut-projects/micronaut-data/issues提交问题,我们可以解决。

感谢您的反馈。

关于hibernate - 运行micronaut 1.3.3尝试创建获取 hibernate 错误的简单应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60924555/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com