遇到的错误
JUSTICE PARTNER
这个作者很懒,什么都没留下…
展开
-
redis序列化配置错误:org.springframework.core.convert.ConverterNotFoundException
报错信息如下org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is原创 2021-04-10 16:11:43 · 1549 阅读 · 0 评论 -
idea 报错:找不到或无法加载主类 解决方法
在某个博客的评论区里看到方法问题解决原创 2021-01-28 15:03:15 · 404 阅读 · 0 评论 -
解决Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource coul
第一颗大白菜的博客转载 2020-11-15 19:30:42 · 184 阅读 · 0 评论 -
swagger生成文档显示不全
环境:springboot+swagger swagger2 2.9.2 springboot2.2.7.RELEASE从后台看是一些请求被拦截器拦截了,在拦截器后添加以下被排除目录后,swagger正常生成文档 @Override protected void addInterceptors(InterceptorRegistry registry) { //拦截所有目录,除了通向login和register的接口 registry.addIntercep原创 2020-11-07 21:23:54 · 1152 阅读 · 0 评论 -
Not registered via @EnableConfigurationProperties, marked as Spring component, or scanned via @Confi
配置SpringBoot环境时出现问题问题描述:Not registered via @EnableConfigurationProperties, marked as Spring component, or scanned via @ConfigurationPropertiesScan解决办法(来自stackoverflow):添加链接描述在springboot启动类上开启配置文件扫描注解:@ConfigurationPropertiesScan效果:...原创 2020-10-13 22:54:43 · 389 阅读 · 0 评论 -
Mybatis 错误:org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause:
具体错误如下org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet successfully received from the server was 557 milliseconds原创 2020-08-07 14:49:59 · 2247 阅读 · 1 评论