- 博客(6)
- 收藏
- 关注
原创 navicat连接mysql8 2059-Authentication plugin ‘caching_sha2_password‘ cannot be loaded
grant all on *.* to 'root'@'%'; # 授权flush privileges;alter user 'root'@'localhost' identified by 'your password' password expire never; # 修改加密规则ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY ''your password'; # 修改密码flush privileges;
2021-12-07 16:51:48 104
原创 js简单实现Vue2动态渲染
作为一名后端,一直想不通Vue的动态渲染机制,直到逛度娘遇到了 Object.defineProperty,然后各种想法促使我去实操就有了这篇笔记(我只是一名萌新,勿喷)。<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>js简单实现Vue2动态渲染</title></head><body><d
2021-06-24 15:59:46 743
原创 @RequestBody 无效取不到值
可能会是以下原因:没有使用@PostMapping请求数据格式不是 application/json (在请求头中加上 Content-Type: application/json)
2021-01-08 10:12:31 2513
原创 @CrossOrigin 失效,不起作用,报跨域
使用@RequestMapping(path = “”),没有指定method = RequestMethod.GET =》加上method使用了restful风格 /id/{id} ,这种也会失效,主要原因是数据不能放data中,要拼接到url后面点个赞,不过分!!!
2020-10-18 19:03:38 3007 4
原创 解决 javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet successfully received from the server was 1,234 milliseconds ago. The last packet sent successfully to the server was 1,224 milliseconds ago. at sun.ref
2020-09-26 21:54:25 3026
原创 图片的上传和回显
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>2.2.5.RELEASE</versio...
2020-04-23 14:54:34 368
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人