该文被密码保护。 阅读全文
posted @ 2020-02-17 15:44 web_kk 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 在看spring源码org.springframework.boot.autoconfigure.AutoConfigurationImportSelector时发现有如下List去重方法,记录下 阅读全文
posted @ 2019-05-30 21:42 web_kk 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 1. docker安装 1) CentOS: sudo yum install docker 2) Ubuntu: sudo apt-get docker.io 2. docker常用命令 1) 镜像下载: docker pull 镜像名 2) 查看本地镜像列表: docker images 3) 阅读全文
posted @ 2019-05-26 18:17 web_kk 阅读(308) 评论(0) 推荐(0) 编辑
摘要: SpringBoot实战第十一章应用监控笔记 SpringBoot 提供了运行时的应用监控和管理功能,可以通过http,JMX, SSH协议来进行操作 Spring Initializr依赖为 Actuator,Web,HATEOAS 1. 监控和管理端点 2. 定制端点 1) 修改端点id,改变访 阅读全文
posted @ 2019-05-26 11:14 web_kk 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: Spring 4.3.2 Spring的Controller调用业务逻辑返回的Object会经过HandlerMethodReturnValueHandler的转换,接口HandlerMethodReturnValueHandler定义了两个方法 当supportsReturnType返回true时 阅读全文
posted @ 2019-04-27 17:14 web_kk 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: Spring 4.3.2 Spring请求的参数会经过HandlerMethodArgumentResolver的转换,接口HandlerMethodArgumentResolver定义了两个方法 当supportsParameter返回true时会调用resolveArgument转换参数 源代码 阅读全文
posted @ 2019-04-27 16:51 web_kk 阅读(310) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 2.1.4 在使用Spring Data JPA时调用JpaRepository.save(Person)方法保存对象到mysql数据库中的时报错 java.sql.SQLSyntaxErrorException: Table 'test.hibernate_sequence' 阅读全文
posted @ 2019-04-27 16:10 web_kk 阅读(8418) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 2.1.4启动时报错 java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time...... applicat 阅读全文
posted @ 2019-04-27 15:56 web_kk 阅读(1580) 评论(0) 推荐(0) 编辑