Eclipse报错org.hibernate.InstantiationException: No default constructor for entity:...
Eclipse报错:Exception in thread “main” org.hibernate.InstantiationException: No default constructor for entity: com.pojo.User原因:给对应的类添加了带参数的构造函数。解决办法:添加无参数的构造函数即可。
复制链接