随笔分类 -  异常记录簿

摘要:使用validation注解异常 HV000030: No validator could be found for constraint javax.validation.constraints.NotBlank 报错原因 不能使用@NotBlank(message="xxx")对Integer基 阅读全文
posted @ 2022-05-24 18:03 .Blank 阅读(1715) 评论(0) 推荐(0)
摘要:springboot用qq邮箱的smtp服务发送邮件时报错Got bad greeting from SMTP host: smtp.qq.com, port: 465, response: [EOF] 解决方案 如果使用端口为465,将protocol的smtp改为smtps 如果使用端口为587 阅读全文
posted @ 2021-10-26 15:05 .Blank 阅读(2460) 评论(0) 推荐(0)
摘要:JavaMailSender的send方法报错Local address contains illegal character in string 问题分析 本来以为是接收到的参数问题,结果让前端修改了格式还是报错 最后在controller打印信息发现是接收参数方式错了 前端传的email是JSO 阅读全文
posted @ 2021-10-25 23:46 .Blank 阅读(4387) 评论(0) 推荐(1)
摘要:IDEA执行Get from version control的clone时报错:unable to access 'https://github.com/Blank/xxx.git/': error setting certificate verif 作者亲试解决办法: 在git的bash.exe中 阅读全文
posted @ 2021-09-25 00:49 .Blank 阅读(861) 评论(0) 推荐(0)
摘要:出现问题 DataSource自动注入为空 测试代码 @SpringBootTest public class SpringBoot06DataJdbcApplicationTests { @Autowired DataSource dataSource; //这里自动注入为null @Test p 阅读全文
posted @ 2021-08-15 19:31 .Blank 阅读(1663) 评论(0) 推荐(0)