spring-boot-starter-web高版本运行不起来
时间: 2023-08-21 22:03:06 浏览: 45
回答: 如果你在使用高版本的spring-boot-starter-web时遇到了运行问题,可能有几个原因导致。首先,你需要确保你的项目的pom.xml文件中已经正确引入了spring-boot-starter-web的依赖。根据引用\[2\]的内容,当你引入了spring-boot-starter-web的依赖后,就无需再引入spring-boot-starter核心启动器的依赖了。其次,你需要检查你的项目是否有正确的配置文件,比如application.properties或application.yml文件,以确保你的项目的配置是正确的。最后,你还需要检查你的代码是否有错误或者其他的问题,比如是否有冲突的依赖等等。如果你仍然无法解决问题,建议你查看官方文档或者寻求相关的技术支持。
#### 引用[.reference_title]
- *1* [springboot初探---spring-boot-starter-web究竟干了啥](https://blog.csdn.net/weixin_35990136/article/details/113999995)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [spring-boot-starter-web(Web启动器)](https://blog.csdn.net/qq_35366269/article/details/125077830)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]