Spring-Boot新项目启动总是提示:Process-finished-with-exit-code-0

Terwer 后端开发 Spring Boot评论239字数 281阅读0分56秒阅读模式

可能原因

1.端口冲突检查端口文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

2.缺少 web 启动依赖文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

<!-- web -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

我的是第 2 个原因。文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

注意加入之后,要刷新 maven。文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

后记

推荐一个自动管理 SpringBoot 的 starter 的插件,很好用:文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

EditStarters文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

https://plugins.jetbrains.com/plugin/11543-editstarters文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

文章源自浅海拾贝-https://blog.terwergreen.com/springboot-new-project-starts-always-prompts-processfinishedwithexitcode0-zqkshk.html

相关文章
  • 扫码加我微信
  • 验证消息请输入:来自你的博客
  • weinxin
  • 我的微信公众号
  • 微信扫一扫与我交流吧
  • weinxin
Terwer
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: