一、spring boot核心 配置在类路径下autoconfigure下(多瞅瞅) @SpringBootApplication里的重要注解(@Configuration,@EnableAutoConfiguration,@ComponentScan三个注解的组合。) @ComponentScan ...
分类:
编程语言 时间:
2021-04-08 14:09:17
阅读次数:
0
开发时使用,生产环境关闭 1.Adding devtools to your project <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> ...
分类:
其他好文 时间:
2021-04-08 13:37:40
阅读次数:
0
Spring里的占位符spring里的占位符通常表现的形式是: <bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property name="url" val ...
分类:
编程语言 时间:
2021-04-07 11:19:32
阅读次数:
0
低版本 版本信息: spring boot 1.5.3 spring-cloud-dependencies:Edgware.SR3 #writeRead缓存定时同步到ReadOnly的缓存 eureka.server.responseCacheUpdateIntervalMs =30000 #拉取服 ...
分类:
其他好文 时间:
2021-04-07 11:02:29
阅读次数:
0
Oracle trunc()函数的用法 --Oracle trunc()函数的用法/**************日期********************/1.select trunc(sysdate) from dual --2013-01-06 今天的日期为2013-01-062.select ...
分类:
数据库 时间:
2021-04-07 10:36:11
阅读次数:
0
Spring Boot 和 Spring Cloud 已成为当前最流行的微服务框架。本文通过样例演示如何搭建并运行一个简单的 Spring Boot 项目。 在开发之前,首先确认我们的电脑上已经有以下环境: Java azul-16 maven 3.6.3 IntelliJ IDEA 2020.3 ...
分类:
编程语言 时间:
2021-04-07 10:35:30
阅读次数:
0
参考 https://blog.51cto.com/13475106/category6.html及狄泰软件相关课程 一.整体的设计 从上图可以得到一个问题,为什么不能从boot直接加载kernnel,并跳转运行?该设计的思路1.boot必须小于512字节,无法完成过多功能2.kernel需要运行于 ...
分类:
其他好文 时间:
2021-04-06 14:44:49
阅读次数:
0
一、添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>2.4.4</version> </depen ...
分类:
编程语言 时间:
2021-04-06 14:26:35
阅读次数:
0
SpringBoot发送邮件 1、pom <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</ ...
分类:
编程语言 时间:
2021-04-06 14:13:11
阅读次数:
0
本项目采用idea编辑器,依赖maven环境,相关搭建请自行百度一、引入相关依赖 本文Http接口交互使用hutool工具类与阿里FastJson解析报文。 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> ...
分类:
编程语言 时间:
2021-04-05 11:48:35
阅读次数:
0