摘要: 1、在pom.xml中添加依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> 阅读全文
posted @ 2021-03-11 15:37 彗星管家 阅读(28) 评论(0) 推荐(0)
摘要: 参考 https://blog.csdn.net/iku5200/article/details/82856621 1、新建springboot项目 2、修改配置文件:application-dev.yml server: port: 8080 spring: datasource: usernam 阅读全文
posted @ 2021-03-05 11:54 彗星管家 阅读(58) 评论(0) 推荐(0)
摘要: 参考 https://www.cnblogs.com/ziyue7575/p/e05eb22d674c47c66259fa55b2df7773.html @Configuration public class FileConfig implements WebMvcConfigurer { @Ove 阅读全文
posted @ 2021-03-03 16:12 彗星管家 阅读(362) 评论(0) 推荐(0)