![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot入门
喵了个咪的回忆丶
Java后台
展开
-
springboot入门——1.热部署
步骤一:setting 步骤二:Registry ctrl+shift+alt+/ 选择Registry… 步骤三:pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-...原创 2019-06-07 10:09:20 · 101 阅读 · 0 评论 -
springboot入门——2. 配置文件
1. application.yml server: port: 8081 servlet: context-path: /demo person: addr: xiantao age: 18 name: zhangsan server 要写在前面 访问路径变为:localhost:8081/demo/xxx 注意空格 2. 配置文件 ① @Value 注解配置...原创 2019-06-07 10:59:21 · 126 阅读 · 0 评论