文章分类 - Spring Boot
摘要:Springboot + mybaits mybatis-spring-boot-starter主要有两种解决方案,一种是使用注解解决一切问题,一种是简化后的老传统。无配置文件注解版,就是一切使用注解搞定。这里先介绍无配置文件注解版 一、无配置文件注解版 1、引入依赖 2、配置文件applicati
阅读全文
摘要:一、定制默认启动图案Banner在src/main/resources下新建一个banner.txt 并输入想要的图案通过http://patorjk.com/software/taag 生成想要的字符 二、热部署 1、引入依赖 2、修改IDEA配置<1>File-Settings-Compiler
阅读全文
摘要:基础环境 IDEA Create New Project => Spring Initializr=> Next = >Web = > Spring Web=>..... 加入以下代码 访问 http://localhost:8080/hello SpringBoot2.x使用Dev-tool热部署
阅读全文