随笔分类 -  Java

摘要:在看spring源码org.springframework.boot.autoconfigure.AutoConfigurationImportSelector时发现有如下List去重方法,记录下 阅读全文
posted @ 2019-05-30 21:42 web_kk 阅读(434) 评论(0) 推荐(0)
摘要:SpringBoot实战第十一章应用监控笔记 SpringBoot 提供了运行时的应用监控和管理功能,可以通过http,JMX, SSH协议来进行操作 Spring Initializr依赖为 Actuator,Web,HATEOAS 1. 监控和管理端点 2. 定制端点 1) 修改端点id,改变访 阅读全文
posted @ 2019-05-26 11:14 web_kk 阅读(1114) 评论(0) 推荐(0)
摘要:Spring 4.3.2 Spring的Controller调用业务逻辑返回的Object会经过HandlerMethodReturnValueHandler的转换,接口HandlerMethodReturnValueHandler定义了两个方法 当supportsReturnType返回true时 阅读全文
posted @ 2019-04-27 17:14 web_kk 阅读(1083) 评论(0) 推荐(0)
摘要:Spring 4.3.2 Spring请求的参数会经过HandlerMethodArgumentResolver的转换,接口HandlerMethodArgumentResolver定义了两个方法 当supportsParameter返回true时会调用resolveArgument转换参数 源代码 阅读全文
posted @ 2019-04-27 16:51 web_kk 阅读(346) 评论(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 阅读(8518) 评论(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 阅读(1615) 评论(0) 推荐(0)