异常:
1 | Caused by: org.springframework.beans.BeanInstantiationException: |
原因:
maven依赖包冲突,有重复的依赖。
当你要放弃的时候想想当初为什么坚持到现在!
异常:
1 | Caused by: org.springframework.beans.BeanInstantiationException: |
原因:
maven依赖包冲突,有重复的依赖。
当你运行程序出来这个警告时:
1 | Sun Jul 12 12:06:56 CST 2020 WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to ‘false’. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. |
错误原因:MySQL新版本(8以上版本)的用户登录账户加密方式是【caching_sha2_password】,Navicat不支持这种用户登录账户加密方式。
more >>1 | setTimeout(()=>{ |
打印结果: 3 2 4 1
more >>理解:

1 | MinStack minStack1 = new MinStack(); |
1.浏览器没有任何的cookie信息,浏览器向服务器发起请求。
2.服务器第一次使用request.getSession();(第一次使用本方法作用:创建会话对象),服务器每次创建一个Cookie对象。这个Cookie对象的key永远是:JSESSIONID值是新创建出来的Session的id值。
3.通过响应把新创建出来的Session的id值返回给客户端Set-cookie: JSESSIONID=23423234211XAS223XASH233HSDF23;
4.浏览器解析到数据,就马上创建出一个Cookie对象。
5.浏览器端有了JSESSIONID之后的每次请求,都会把SESSION的id以Cookie的形式发送给服务器。
6.浏览器收到请求后再次使用request.getSession();(第二次使用本方法作用:通过Cookie中的id找到服务器之前创建好的Session对象,并返回)
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true