07 2022 档案
摘要:
spring boot项目开发时不同开发环境,打包生成不同的文件。(避免生产环境得到开发环境时的配置文件)
阅读全文

摘要:
SpringBoot建项目步骤 建表 新建项目 (package name可以自定义,整个项目只能在该包下) 选择可能有到的依赖 (别忘了勾选SQL中的Mybatis Framework,创建项目 如果没有勾选mybatis框架,就需要手动加下面代码 <dependency> <groupId>or
阅读全文

摘要:
日志打印 sources里建logback-spring.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- 导入其他配置文件,作为预设 --> <include resource="org/springframework/
阅读全文

摘要:
基于spring boot项目的前提下,使用redis数据库做mybatis的二级缓存。
阅读全文
