Spring boot + Hibernate JPA启动出现标题错误,上一层错误是Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer],SO上几个解答都是说getter setter的命名不规范,但我用的lombok,没有手写的getter和setter。最后把Spring boot更新到了2.1.1问题消失(JDK版本11),之前用的2.0.4是在JDK8下面是正常的。
Spring boot + Hibernate JPA启动出现标题错误,上一层错误是Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer],SO上几个解答都是说getter setter的命名不规范,但我用的lombok,没有手写的getter和setter。最后把Spring boot更新到了2.1.1问题消失(JDK版本11),之前用的2.0.4是在JDK8下面是正常的。
本文标题:Could not get constructor for or
本文链接:https://www.haomeiwen.com/subject/pydxrqtx.html
网友评论