原文:异常处理:No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer

No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer and no properties discovered to create BeanSerializer to avoid exception, disable SerializationFeature.FAIL ON ...

2017-07-10 17:23 0 1835 推荐指数:

查看详情

hibernate 异常处理

公司跑项目时,遇到过非常诡异的报错,信息如下:org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped [select count(*) from User u where u.userName ...

Tue Apr 12 03:21:00 CST 2016 0 2381
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM