推荐阅读本教程的三大理由:
- 文章内容均为原创,结合官方文档和实战经验编写。
- 文章结构经过细致整理,对新人学习更加友好。
- 精选常用技术,不求全面,但求精华!!
SpringBoot 源码精读 图文教程
《SpringBoot 基础教程-Git 》
源码下载:— Hey Man,Don't forget to Star or Fork . —
推荐阅读本教程的三大理由:
— Hey Man,Don't forget to Star or Fork . —
Bumps mysql-connector-java from 5.1.42 to 8.0.16.
Sourced from mysql-connector-java's changelog.
Changelog
https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/
Version 8.0.20
Fix for Bug#30805426, IN CASE OF ISAUTHMETHODSWITCHREQUESTPACKET , TOSERVERS > 1 ARE IGNORED.
Fix for Bug#97714 (30570249), Contribution: Expose elapsed time for query interceptor to avoid hacky thread local implementations. Thanks to Matti Sillanpää and Johnathan Crawford for their contribution.
Fix for Bug#97724 (30570721), Contribution: Allow '3.' formatted numbers. Thanks to Nick Pollett for his contribution.
Fix for Bug#98536 (30877755), SIMPLEDATEFORMAT COULD CACHE A WRONG CALENDAR.
Fix for Bug#91112 (28125069), AGAIN WRONG JAVA.SQL.DATE.
Fix for Bug#30474158, CONNECTOR/J 8 DOES NOT HONOR THE REQUESTED RESULTSETTYPE SCROLL_INSENSITIVE ETC.
Fix for Bug#98445 (30832513), Connection option clientInfoProvider=ClientInfoProviderSP causes NPE.
WL#12248, DevAPI: Connection compression.
Fix for Bug#30636056, ResultSetUtil.resultSetToMap() can be unsafe to use.
Fix for Bug#97757 (30584907), NULLPOINTEREXCEPTION WITH CACHERESULTSETMETADATA=TRUE AND EXECUTEQUERY OF "SET".
Version 8.0.19
WL#13346, Support for mult-host and failover.
Fix for Bug#97413 (30477722), DATABASEMETADATA IS BROKEN AFTER SERVER WL#13528.
WL#13367, DNS SRV support.
WL#12736, DevAPI: Specify TLS ciphers to be used by a client or session.
Fix for regression tests broken by Bug#97079 fix.
Fix for Bug#96383 (30119545) RS.GETTIMESTAMP() HAS DIFFERENT RESULTS FOR TIME FIELDS WITH USECURSORFETCH=TRUE.
Fix for Bug#96059 (29999318), ERROR STREAMING MULTI RESULTSETS WITH MYSQL-CONNECTOR-JAVA 8.0.X.
Fix for Bug#96442 (30151808), INCORRECT DATE ERROR WHEN CALLING GETMETADATA ON PREPARED STATEMENT.
Version 8.0.18
WL#13347, Connectors should handle expired password sandbox without SET operations.
Fix for Bug#84098 (25223123), endless loop in LoadBalancedAutoCommitInterceptor.
34cbc6b
License book updated.793bd55
Minor fix for tests failing with URL without parameters.58600cc
WL#12825, Remove third-party libraries from sources and bundles.5aa15d5
Fix for Bug#93590 (29054329), javax.net.ssl.SSLException: closing inbound bef...1fecc2b
Fix for Bug#94414 (29384853), Connector/J RPM package have version number in ...f5d24e3
Fix for Bug#27786499, REDUNDANT FILES IN DEBIAN PACKAGE FOR DEBIAN9(COMMUNITY...c49db58
WL#12246, DevAPI: Prepared statement support.a5c3d29
Added definition file for msi building tools.13045c2
WL#10839, Adjust c/J tests to the new "ON" default for2e350a5
Fix for Bug#29329326, PLEASE AVOID SHOW PROCESSLIST IF POSSIBLE.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.
https://github.com/udacity/JDND/tree/master/projects/P01-Chatroom/starter_code 这个是udacity的一个付费课程的project1,似乎是直接用了您spring-boot-websocket-chat的代码,前端都没改。不知道您是否知情
任何学习配合快速出成果,都能使学习者获得满足感从而能继续下去。 所以我想向作者大佬提个建议,既然你已经写了springBoot的一系列文章,何不写一个从0部署到云服务器平台(阿里云之类的初始服务器)的指南,毕竟现在Android转后端的有点多,例如我,却不知道如何在云服务器上面从0部署... 总之,谢谢你的分享。
Bumps mysql-connector-java from 5.1.42 to 8.0.28.
Sourced from mysql-connector-java's changelog.
Changelog
https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/
Version 8.0.29
Fix for Bug#21978230, COMMENT PARSING NOT PROPER IN PREPSTMT.EXECUTEBATCH().
Fix for Bug#81468 (23312764), MySQL server fails to rewrite batch insert when column name contains word select.
Fix for Bug#106435 (33850099), 8.0.28 Connector/J has regressive in setAutoCommit after Bug#104067 (33054827).
Fix for Bug#106240 (33781440), StringIndexOutOfBoundsException when VALUE is at the end of the query.
Fix for Bug#106397 (33893591), Contribution: fix: fix LocalizedErrorMessages.properties doc: less then -> ... Thanks to Jianjian Song for his contribution.
Fix for Bug#77924 (25710160), JDBC SOCKS SHOULD NOT PERFORM LOCAL DNS RESOLUTION.
Fix for Bug#82084 (23743938), YEAR DATA TYPE RETURNS INCORRECT VALUE FOR JDBC GETCOLUMNTYPE().
Fix for Bug#106441 (33850155), Add charset mapping for utf8mb3.
WL#15048, Upgrade Protocol Buffers dependency to protobuf-java-3.19.4.
Fix for Bug#106065 (33726184) Contribution: BigDecimal.toPlainString no need to check decimal exponent. Thanks to Baoyi Chen for his contribution.
Fix for Bug#106171 (33757217), Contribution: Remove unnecessary boxing in ResultSetImpl. Thanks to Ningpp Ning for his contribution.
Fix for Bug#25701740, STMT EXECUTION FAILS FOR REPLICATION CONNECTION WHEN USECURSORFETCH=TRUE.
Fix for Bug#33723611, getDefaultTransactionIsolation must return repeatable read.
Fix for Bug#38954 (11749415), DATA TRUNCATION WHILE USING BIT(1) IN STORED PROCEDURE WITH INOUT TYPE.
Fix for Bug#85317 (25672958), EXECUTE BATCH WILL THROW NULL POINTER EXCEPTION WHERE THE COLUMN IS BLOB!
Fix for Bug#105915 (33678490), Connector/J 8 server prepared statement precision loss in execute batch.
Fix for Bug#104349 (33563548), com.mysql.cj NPE.
Fix for Bug#62006 (16714956), JAVA.IO.NOTSERIALIZABLEEXCEPTION: JAVA.IO.STRINGREADER WHEN PROFILESQL=TRUE.
WL#14750, Better unification of query bindings.
WL#14834, Support for FIDO authentication.
WL#14835, Align TLS option checking across connectors.
... (truncated)
7ff2161
Updating copyright yearsb13af38
Fix for DateTimeTest according to changes in MySQL server.5c7b775
Update in test for Bug#96900 (30355150).e1169ee
Fix for Bug#99260 (31189960), statement.setQueryTimeout,creates a database co...05778ef
Fix for Bug#103324 (32770013), X DevAPI Collection.replaceOne() missing match...48219f2
Fix for Bug#105197 (33461744), Statement.executeQuery() may return non-naviga...24cf7e2
Fix for Bug#105323 (33507321), README.md contains broken links.ad46620
Fix for Bug#96900 (30355150), STATEMENT.CANCEL()CREATE A DATABASE4d19ea1
Fix for Bug#104067 (33054827), No reset autoCommit after unknown issue occurs.bc45d35
Fix for Bug#85223 (25656020), MYSQLSQLXML SETSTRING CRASH.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.
Bumps fastjson from 1.2.49 to 1.2.83.
Sourced from fastjson's releases.
FASTJSON 1.2.83版本发布(安全修复)
这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。
安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523
Issues
- 安全加固
- 修复JDK17下setAccessible报错的问题 #4077
- 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/
- 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
- 源码 https://github.com/alibaba/fastjson/tree/1.2.83
fastjson 1.2.79版本发布,BUG修复
这又是一个bug fixed的版本,大家按需升级
Issues
- 修复引入MethodInheritanceComparator导致某些场景序列化报错的问题
- 增强JDK 9兼容
- 修复JSONArray/JSONObject的equals方法在内部对象map/list相同时不直接返回true的问题
相关链接
- 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.79/
- 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
- 源码 https://github.com/alibaba/fastjson/tree/1.2.79
fastjson 1.2.76版本发布,BUG修复增强兼容
这又是一个bug fixed的版本,大家按需升级
Issues
- 修复一些直接抛RuntimeException的问题 #3631
- parser自动识别gzip bytes #3614
- 修复Throwable继承类属性不支持自动类型转换问题 #3217
- 修复PrettyFormat情况下引用计算不对的问题 #3672
- 修复AutoType不兼容LinkedHashMap的问题
- 增强对Enum类型的自定类型转换
- 修复deserializeUsing在泛型某些场景不能正常工作的问题 #3693
- 提升JSONReader性能,减少小对象创建 #3627
- 增强对JSONPath对filter的支持 #3629
- JSONPath支持忽略NullValue的选项 #3607
- 增强对定制化enum的支持 #3601
- 增强对java.time.Instant和org.joda.time.Instant的支持 #3539
- 修复Parser某些场景不能识别引用的问题
相关链接
- 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.76/
- 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
- 源码 https://github.com/alibaba/fastjson/tree/1.2.76
fastjson 1.2.75版本发布,例行Bug修复
... (truncated)
26f13f8
1.2.838f3410f
bug fix for autotypecd3c2de
improved jdk8 java.time supportc63866e
remove unused import35db4ad
bug fix for autoType3f009e1
Merge pull request #4085 from hengyunabc/fix_setAccessibledd3de5f
fix InaccessibleObjectException in jdk17. #4077a234f9a
Merge pull request #4084 from alibaba/revert-4078-master0814909
Revert "fix InaccessibleObjectException in jdk17. #4077"ab82d0b
Merge pull request #4078 from hengyunabc/masterDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.
致歉 由于自己懒以及身体对issuse 解决的不及时。请大家以后提issuse 的时候写清楚 模块名 比如“springboot-SpringSecurity4” 和问题,我会抽时间抓紧解决。 springboot-SpringSecurity0 包含两部分代码: 第一是 博客 springboot
《灯灯》中后台快速开发平台 lamp 项目名字由来 叙事版: 在一个夜黑风高的晚上,小孩吵着要出去玩,于是和程序员老婆一起带小孩出去放风,路上顺便讨论起项目要换个什么名字,在各自想出的名字都被对方一一否决后,大家陷入了沉思。 走着走着,在一盏路灯下,孩砸盯着路灯打破宁静,喊出:灯灯~ 我和媳妇愣了一
一个基于springboot的快速集成多数据源的启动器 简介 dynamic-datasource-spring-boot-starter 是一个基于springboot的快速集成多数据源的启动器。 其支持 Jdk 1.7+, SpringBoot 1.4.x 1.5.x 2.x.x。 文档 | D
smart-sso QQ交流群:454343484 ?? 、769134727 简述 smart-sso使用当下最流行的SpringBoot技术,基于OAuth2认证授权协议,为您构建一个易理解、高可用、高扩展性的分布式单点登录应用基层。 相关文档 smart-sso单点登录(一):简介 smart
iBase4J项目简介 iBase4J是Java语言的分布式系统架构。 使用Spring整合开源框架。 使用Maven对项目进行模块化管理,提高项目的易开发性、扩展性。 系统包括4个子系统:系统管理Service、系统管理Web、业务Service、业务Web。 系统管理:包括用户管理、权限管理、数
Random-Image-Api Random-Image-Api 一个能够获取随机图片的 Api,基于 Spring Boot 构建 可读取本地图片列表的地址,并提供随机访问服务,可配置域名白名单访问 项目说明 程序启动的时候会自动加载 项目路径/list 文件夹下的所有列表文件; 图片列表文件:
EasyRiggerInitializr | SpringBoot 脚手架,简化项目构建 作者: 小傅哥,Java Developer, ✏️ 虫洞 · 科技栈,作者, ?? CSDN 博客专家 本代码库是作者小傅哥多年从事一线互联网Java开发的学习历程技术汇总,旨在为大家提供一个清晰详细的学习教
基于 springboot websocket 的群聊实现 功能列表 分布式 同一帐号多设备登录 群聊 多设备 简单鉴权 心跳检查 依赖 maven jdk11 redis redis 配置 redis 默认使用 localhost:6379。如果需要修改 host:port,可以修改 applic
前言 闲来无事,整一个 Java 项目快速开发脚手架。 正文 一、简介 Chewing 是一个简单的 Java 项目快速开发脚手架。既适合需要开发小型项目的小伙伴使用,也适合刚入门的新手用来学习一些常用的技术。 二、源码 Github:https://github.com/jingqueyimu/c
本项目里面的demo后端都是基于Java,前端基于Vue,数据库MySql。 一、运行demo 下载代码后,先配置好yml文件:数据库和微信号appid、secret(other包下面有数据库)。
简介 bcMall 是一个以教学为目的的电商系统。bcMall将为你展现一个典型的系统演进过程,所使用的主流技术完全开放。 它包含ToB复杂业务、互联网高并发业务、缓存应用;DDD、微服务指导。模型驱动、数据驱动。了解大型服务进化路线,编码技巧、学习Linux,性能调优。Docker/k8s助力、监
Echo — 开源社区系统 项目上线到服务器之后可能会出现各种各样的 BUG,比如 Elasticsearch 服务启动失败导致搜索模块不可用,但是在本地运行是完全没问题的,所以各位小伙伴可以放心下载部署。 ?? 项目简介 Echo 是一套前后端不分离的开源社区系统,基于目前主流 Java Web
工具仅用于安全研究,禁止使用工具发起非法攻击,造成的后果使用者负责 ZhouYu -> 周瑜 Java - SpringBoot 持久化 WebShell 背景:后Spring时代,SpringBoot jar部署模式下,一般没有了JSP,所有的模板都在jar内,当大家都热衷于内存马的时候,发现很容
moments_v2_backend (Work In Progress) backend for a sharing app using SpringBoot, Redis, MySQL, and AWS S3. This is the second version of my project S
Hcode Online Judge(HOJ) 前言 基于前后端分离,分布式架构的在线测评平台(hoj),前端使用vue,后端主要使用springboot,redis,mysql,nacos等技术。 在线Demo:https://hdoi.cn 在线文档:https://www.hcode.top/
Spring Boot Dynamic Config Hot-reload your SpringBoot configurations, with just a '@DynamicConfig' annotation, the simplest solution, ever. English 简体
分布式高并发商品秒杀系统 介绍 快速启动 TODO 压测结果 Q&A 介绍 本项目为另一个项目dis-seckill的压力测试版本,重点工作为优化秒杀接口性能,提高单机系统并发瓶颈。 完整项目dis-seckill扩展包括 项目基础技术点和流程图介绍; 接口安全优化; 系统限流与降级服务; Ngin
分布式高并发商品秒杀系统 介绍 快速启动 项目架构图 项目入门 TODO Q&A 参考资料 介绍 本项目是在dis-seckill上改进,项目名含义为分布式秒杀系统。采用微服务思想,意在提高秒杀系统的整体性能。 改进点: 优化秒杀流程,提高单机系统性能瓶颈。dis-seckill-test 接口安全
Lilishop B2B2C商城系统 官方公众号 & 开源不易,如有帮助请点Star 介绍 官网:https://pickmall.cn Lilishop 是一款Java开发,基于SpringBoot研发的B2B2C多用户商城,前端使用 Vue、uniapp开发 系统全端全部代码开源 产品前后端分离