二月
二十三日
问题 :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
马虎啊!