org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]

后端 未结 2 1500
醉话见心
醉话见心 2021-01-13 11:50

I am developing a web application using Hibernate framework. I got this error when trying to run webapp.

Error Console:



        
2条回答
  •  长发绾君心
    2021-01-13 12:36

    You should explicitly define no-arg constructor. This is a requirement from Hibernate to all POJOs.

    Detailed explanation could be found here: https://stackoverflow.com/a/2971717/283426

提交回复
热议问题