网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor

No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor

分类: IT文章 • 2024-06-25 11:49:24
使用jpa做增删改查的时候出现了这个异常,原因是转化成json的时候,fasterxml.jackson将对象转换为json报错,发现有字段为null

解决方案:实体类上添加 @JsonIgnoreProperties(value = { "hibernateLazyInitializer"})

 

相关推荐

  • Class ZipArchive not found,安装zip扩展
  • MyElipes遇到 source not found解决方案(查看.class文件源码一劳永逸的解决方法)
  • JUnit报Method‘initializationError’not found,opening the test class错误
  • akka创建actor时报错:IllegalArgumentException: no matching constructor found on class $iwC$$iwC$$iwC$$iwC$
  • Python——Baseequestandler class (Interesting found in python‘s document)
  • [php] Fatal error: Class Exception not found in
  • laravel/lumen Class 'MaatwebsiteExcelExcelServiceProvider' not found
  • org.hibernate.MappingException: entity class not found
  • delphi class tdbgrideh not found
  • class tlabel not found
  • for循环
  • SDUSTOJ
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号