cuteaddanina

再看,再看,就把你吃掉

 

<2>SpringBoot快速上手

(示例项目:demo。项目路径:C:\somethingfromeF\25SummerVacation\demo)

1.创建springboot项目

2.ssm:

s:springboot

s:springboot MVC

m:mysql

3.

image

image

4.运行域名

a.localhost代表本地

b.还有类似于www.baidu这样的域名

c.

image

5.自动编译

a.pom里面:

 <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <scope>runtime</scope>
        </dependency>

b.application.properties(配置文件)里面:

spring.devtools.restart.enabled=true
spring.devtools.restart.additio/nal-paths=src/main/java

c.

image

 

posted on 2025-08-08 11:22  Adda...nina  阅读(7)  评论(1)    收藏  举报

导航