IDEA 问题记录-2021

二月

二十三日

问题 :Failure to find com.pig4cloud:pigx-common-bom:pom:3.11.0 in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of aliyunmaven has elapsed or updates are forced

解决:
版本号过低
maven版本号过低
高版本好
总结:项目启动不成功,检查相对应的环境是否达到最低要求,例如我的项目要求:
项目最低配置要求

三月

二十二号

问题 :org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'distinct' in 'class tk.mybatis.mapper.entity.Example$Criteria'
在这里插入图片描述
原因:
在这里插入图片描述
selectOneByExample中的参数为Example类,而不是Criteria

解决:
在这里插入图片描述

八月

二十三日

问题 :org.springframework.security.authentication.InternalAuthenticationServiceException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is java.io.InvalidClassException: org.springframework.security.core.userdetails.User; local class incompatible: stream classdesc serialVersionUID = 550, local class serialVersionUID = 540'
解决:
启动类注解未添加
启动类注解
![启动类注解](https://i-blog.csdnimg.cn/blog_migrate/96f5c5c49a0d4a470c1f6aa89596b03b.png在这里插入图片描述
马虎啊!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值