开发中遇到的问题
文章平均质量分 80
不慕y
有希望的地方,痛苦也快乐。
展开
-
当使用@cacheable缓存数据遇到的序列化问题
1.问题:使用@cacheable注解报错信息如下,很明显是jackson序列化时出的错误Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.String` out of START_ARRAY token[["com.xxx.xxx.xxxxxxx.response.SummaryLeftResponse",{"mainpNam原创 2021-12-06 21:54:46 · 4122 阅读 · 0 评论 -
java控制台常见报错(有坑的)
使用jpa常见bug关闭EntityManager的时间太早了,解决自己配置过滤器对没有返回的数据进行放行could not initialize proxy - no SessionError reading 'name' on type cn.itsource.jpa.domain.ProductDir_$$_jvst42f_1org.hibernate.LazyInitia...原创 2018-12-08 00:30:26 · 7022 阅读 · 0 评论 -
eclipse项目显示红色错误解决
解决方案 右键点击错误项目----->Build path --->configure build path--->order and export 勾选你的jre原创 2018-07-23 21:54:31 · 976 阅读 · 0 评论