上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 38 下一页
摘要: @PropertySource注解是Spring用于加载配置文件,默认支持.properties与.xml两种配置文件。@PropertySource属性如下: name:默认为空,不指定Spring自动生成 value:配置文件 ignoreResourceNotFound:没有找到配置文件是否忽 阅读全文
posted @ 2021-08-29 18:27 Bonnie_ξ 阅读(279) 评论(0) 推荐(0) 编辑
摘要: @ConfigurationProperties使用 @ConfigurationProperties( prefix = "hello.properties" ) public class MyProperties { private String myKey; private List<Stri 阅读全文
posted @ 2021-08-29 18:25 Bonnie_ξ 阅读(97) 评论(0) 推荐(0) 编辑
摘要: MySQL 七种 JOIN 的 SQL 编写 环境搭建 # 创建部门表 CREATE TABLE tbl_dept ( id INT NOT NULL AUTO_INCREMENT, deptName VARCHAR (30) DEFAULT NULL, locAdd VARCHAR (40) DE 阅读全文
posted @ 2021-08-29 18:23 Bonnie_ξ 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1、监听容器刷新完成扩展点ApplicationListener<ContextRefreshedEvent> ApplicationContext事件机制是观察者设计模式实现的,通过ApplicationEvent和ApplicationListener这两个接口实现ApplicationCont 阅读全文
posted @ 2021-08-29 18:21 Bonnie_ξ 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 2.2Maven仓库 <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.7</version> </dependency> <dependencies> <!--depe 阅读全文
posted @ 2021-08-29 18:19 Bonnie_ξ 阅读(29) 评论(0) 推荐(0) 编辑
摘要: ./kafka-topics --zookeeper 166.188.xx.xx --create --topic flink_source --partitions 1 --replication-factor 1 ./kafka-topics --zookeeper 166.188.xx.xx 阅读全文
posted @ 2021-08-29 18:11 Bonnie_ξ 阅读(569) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping注解的源码 @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented @Mapping public @interface Reques 阅读全文
posted @ 2021-08-29 18:10 Bonnie_ξ 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 一、前言 项目配置完之后,接着就是写接口了,那咱们就开始吧。 二、项目配置补充知识点 上篇文章写的是关于项目属性配置的一些知识,这里针对上次遗忘内容进行补充如下: 2.1、获取配置文件的值 在application.yml 文件中,示例内容如下: server: port: 8888 name: x 阅读全文
posted @ 2021-08-29 18:07 Bonnie_ξ 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 一、前言 写代码就和恋爱一样,有反馈就要趁热打铁,搞完了项目搭建,接下来就来搞搞项目配置。 二、IDEA设置 1、编码配置 这里所说的就是代码的编码格式,你可以不设置,但是可能要面临的是,很多未知的麻烦,比如乱码是很坑的呀(真的谁遇见,谁知道,恶心的一批)。 单击 File -> Settings, 阅读全文
posted @ 2021-08-29 18:05 Bonnie_ξ 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/longronglang/p/15152849.html 写在前面 现在已经是八月份了,我已经荒废了半年居多,不得不说谈恋爱确实是个麻烦的事,谈好了皆大欢喜,分手了就是萎靡不振,需要很长一段时间才能缓过来。 人还是要有梦想的,至于实现只不过是一个契机, 阅读全文
posted @ 2021-08-29 18:02 Bonnie_ξ 阅读(43) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 38 下一页