type
status
date
slug
summary
tags
category
icon
password
这里写文章的前言:
这是为了毕设项目和答辩,原有的项目要更改的东西很多,所以只能三天速通黑马教程 只能说傻逼教育系统,GFYS!!!
什么是Spring Boot

传统的spring程序导入依赖很繁琐,项目配置也很麻烦,不适合大项目
SpringBoot有起步依赖和自动配置的特性,简化了配置的流程



创建Spting工程
在intellij创建了maven工程之后(创建教程视频)会生成一下一系列文件

.mvn, mvnw, mvnw.cmd都是maven相关的文件,我们需要做的是编辑pom.xml文件,里面自动生成了起步依赖和相关的管理的版本
还会为我们生成java的包结构,并启动生成了java类,

这样通过http://localhost:8080/hello就可以访问返回hello world了


properties配置文件
application.properties
配置文档

- Author:lltouchingfish
- URL:https://www.lltouchingfish.cn//%E5%BF%83%E6%83%85%E9%9A%8F%E7%AC%94/1e2be847-332a-807e-9fcc-d151fcdfe240
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!