文章分类 -  Spring Boot

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

点击右上角即可分享
微信分享提示