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

什么是Spring Boot

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

创建Spting工程

在intellij创建了maven工程之后(创建教程视频)会生成一下一系列文件
notion image
.mvn, mvnw, mvnw.cmd都是maven相关的文件,我们需要做的是编辑pom.xml文件,里面自动生成了起步依赖和相关的管理的版本
还会为我们生成java的包结构,并启动生成了java类,
notion image
这样通过http://localhost:8080/hello就可以访问返回hello world了
notion image
notion image

properties配置文件

application.properties配置文档
notion image
notion image
 
 
毕设 毕设
Loading...
lltouchingfish
lltouchingfish
lltouchingfish
Latest posts
 毕设
2025-4-27
Announcement
🎉NotionNext 4.5已经上线🎉
-- 感谢您的支持 ---
👏欢迎更新体验👏