如何在 Visual Studio 代码中运行 springboot 应用程序?有可能吗? [英] how to run springboot app in visual studio code? is it possible or not?

查看:42
本文介绍了如何在 Visual Studio 代码中运行 springboot 应用程序?有可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 添加插件并运行 spring boot 应用程序

推荐答案

是的,这是可能的.

  1. 在您的系统中安装 Apache maven.确保 path/maven/bin 目录在您系统的 PATH 环境变量中可用.
  2. 在 vs 代码中打开终端(按 Ctrl + `)

  1. Install Apache maven in your system. Make sure that the path/maven/bin directory is available in your system's PATH environment variable.
  2. open terminal inside vs code(press Ctrl + `)

执行以下命令:我使用了 bash 终端

Execute the following command : I used bash terminal for it

./mvnw spring-boot:run

这篇关于如何在 Visual Studio 代码中运行 springboot 应用程序?有可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆