1

如何解决以下错误?

Exception in thread "main" java.lang.UnsupportedOperationException: Attempt to use unsupported SchemaExport constructor accepting org.hibernate.cfg.Configuration; one of the forms accepting org.hibernate.boot.spi.MetadataImplementor should be used instead
    at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:250)
    at com.slokam.model.CreativeMain.main(CreativeMain.java:21)
4

0 回答 0