- 博客(4)
- 收藏
- 关注
原创 踩坑日常之HTML请求路径少符号
<div class="text-muted mt-3"> 发布于 <b th:text="${#dates.format(post.createTime,'yyyy-MM-dd HH:mm:ss')}">2019-04-15 15:32:18</b> <ul class="d-inline float-right"> <li class="d-inline ml-2"><a href=...
2022-01-03 21:48:24
355
原创 遇到一个大坑
在测试mapper插数据时,discussPostMapper.insertDiscussPost(new DiscussPost(0,100, “leslie”, “哈喽”, 1, 1, new Date(), 100, 55));插入的userId为100,但是在user表中没有id为100的用户,调用下面的业务方法,User user = userService.findUserById(post.getUserId()),查出user为null,然后在前端页面th:src="${map.use
2022-01-03 19:42:26
853
原创 AuthenticationFailedException: 535 Error: authentication failed解决方案
JavaMail踩过的坑:Caused by: javax.mail.AuthenticationFailedException: 535 Error: authentication failed at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:947) at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:8
2022-01-02 00:28:56
3527
1
原创 org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression解决方案
查看thymeleaf标签是不是没有接收到后台传递过来的值Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1007E: Property or field 'headerUrl' cannot be found on null at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyO
2021-12-31 19:29:36
3011
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅