1、Mybatis 自定义配置的分析 在我们自定义starter之前我们写了解一下Mybatis 是如何实现starter 在SpringBoot 引入的依赖如下: <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId ...
分类:
编程语言 时间:
2020-06-06 18:46:59
阅读次数:
61
导入依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <!-- 特别注意版本问题 --> <version>1.2.3</v ...
分类:
其他好文 时间:
2020-06-05 17:58:17
阅读次数:
58
I think the explanation from the Mozilla Docs describes it well: You can assign a different this object when calling an existing function. this refers ...
分类:
移动开发 时间:
2020-06-04 14:04:51
阅读次数:
92
RabbitMQ+Redis模拟手机验证码登录 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> <d ...
分类:
移动开发 时间:
2020-06-04 14:02:14
阅读次数:
74
Springboot 1.引入Freemarker jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </depe ...
分类:
编程语言 时间:
2020-06-04 10:27:08
阅读次数:
56
#Spring Security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> Spring B ...
分类:
编程语言 时间:
2020-06-03 13:56:42
阅读次数:
56
查看github的解决方案:https://github.com/alibaba/druid/issues/2942 你安装的应该是低版本的druid没有这个类,升级到新版;指定druid-spring-boot-starter但没指定druid也可能出现这个错误 <dependency> <gro ...
分类:
编程语言 时间:
2020-06-03 13:31:13
阅读次数:
229
@RestController 注解 模板注解 @RequestMapping 提供路由信息 将请求与方法进行匹配 @EnableAutoConfiguration 基于添加的jar 由springboot 推测配置.eg :在添加了spring-boot-starter-web 的前提下,spri ...
分类:
编程语言 时间:
2020-06-03 00:22:35
阅读次数:
117
Git下载、更新、提交使用总结 Git使用总结 1.下载代码到本地 1.1指定存储文件路径 1.运行git-bash.exe 2.指定盘符:cd f:work 1.2下载代码 命令:$ git clone <版本库的网址> <本地目录名> 版本库的网址:若有用户名、密码,则:http//:用户名@版 ...
分类:
其他好文 时间:
2020-06-02 09:23:58
阅读次数:
71
Linux 下host文件在 /etc/hosts Windows下host文件在C:\Windows\System32\drivers\etc 在host文件的最后面加上:Linux Copy sudo vim /etc/hosts Windows复制一份host文件到别的比方,然后用记事本打开, ...
分类:
其他好文 时间:
2020-06-01 14:07:28
阅读次数:
89