一些重要的配置文件直接复制过来了
jdbc和shiro的配置
application.properties里面的相关配置项的含义
日志界别的配置
数据返回到前端的json的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318726-1390526957.png)
数据源的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318766-509502030.png)
需要新建mysql的数据库
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318735-1098520051.png)
Mybits相关的配置文件
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318783-873745757.png)
MybitsConfig的配置文件
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319033-784766932.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318988-980788002.png)
插入的时候是否自动生成主键
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319009-1185704418.png)
这是默认的分页的配置了,默认就可以了
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319162-652175317.png)
redis的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319041-1444987753.png)
rabbitMQ的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319087-1337986594.png)
自定义的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319228-1907586627.png)
zookepper配置,也是采用本地的
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319084-2083023036.png)
邮件的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319258-777279837.png)
把jdbc的配置文件导入到springboot的加载器
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319378-659627834.png)
扫描Mybits的动态sql对应的mapper接口对应所在的包
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319282-587876479.png)
到时候我们会房子啊mapper这个文件夹下
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319205-912496230.png)
执行clean
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319597-1353120811.png)
执行install
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319502-620276218.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318726-1390526957.png)
数据源的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318766-509502030.png)
需要新建mysql的数据库
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318735-1098520051.png)
Mybits相关的配置文件
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318783-873745757.png)
MybitsConfig的配置文件
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319033-784766932.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235318988-980788002.png)
插入的时候是否自动生成主键
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319009-1185704418.png)
这是默认的分页的配置了,默认就可以了
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319162-652175317.png)
redis的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319041-1444987753.png)
rabbitMQ的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319087-1337986594.png)
自定义的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319228-1907586627.png)
zookepper配置,也是采用本地的
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319084-2083023036.png)
邮件的配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319258-777279837.png)
把jdbc的配置文件导入到springboot的加载器
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319378-659627834.png)
扫描Mybits的动态sql对应的mapper接口对应所在的包
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319282-587876479.png)
到时候我们会房子啊mapper这个文件夹下
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319205-912496230.png)
执行clean
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319597-1353120811.png)
执行install
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319502-620276218.png)
tomcat配置
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319266-246703075.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319440-984012453.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319514-852301655.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319415-2052679682.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319366-740260902.png)
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319443-1281689412.png)
设置为实时加载。例如改变了一些jsp文件后,会自动重新update整个项目的class文件。相当于一个热更新 热部署的效果。
![](https://img2018.cnblogs.com/other/87548/201910/87548-20191004235319532-1313862274.png)
预览
控制台出现的乱码
解决乱码的问题
再次启动
这样就解决了
总结