2022-02-22 16:56阅读: 109评论: 0推荐: 0

Idea如何调出Run Dashboard来管理多个项目的启动

1、介绍背景

        为什么要调出Run Dashboard呢?原因很简单,在微服务项目中会有多个工程,每个工程都有启动项,而在运行一个项目时,会启动多个服务。如果每个启动服务都要在每一工程中找,那就很麻烦。这时就可以使用Run Dashboard来管理。

2、微服务项目环境

电脑环境:win10

编程环境:Idea2020.1、JDK8、apache-maven-3.3.9、spring-boot2.6.2、spring-cloud2021.0.0

3、如何调出微服多个启动项

3.1点击 View

3.2 找到Tool Windows, 然后找到Services,如下图所示:

3.3 点击Services之后,Idea下方控制台,就会显示这个界面:

3.4  在点击添加按钮,然后点击 Run Configuration Type

3.5 点击之后就会出现下图界面,然后往下翻

 3.6 找到 Spring Boot,点击即可。

3.7 点击添加Spring Boot之后,就是如下图的效果:

3.8 展开之后就是下图这样,然后右键点击需要启动的服务即可。

 注:在2020.1版本是这样操作的,之前的旧版本,可能就需要使用另外一种方式。

请看方式1:idea中微服务项目使用Run Dashboard同时启动多个服务

方式2:【IDE】IntelliJ IDEA 微服务项目多个启动类如何显示Run Dashboard窗口 

posted @   所遇所思  阅读(109)  评论(0编辑  收藏  举报  
💬
评论
📌
收藏
💗
关注
👍
推荐
🚀
回顶
收起
🔑
点击右上角即可分享
微信分享提示
  1. 1 404 not found REOL
  2. 2 偏爱 张芸京
  3. 3 Glimpse of Us Joji
Glimpse of Us - Joji
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.

作词 : Connor McDonough/Alexis Kesselman/Castle/Riley McDonough/George Miller

作曲 : Connor McDonough/Alexis Kesselman/Castle/Riley McDonough/George Miller

She’d take the world off my shoulders

She’d take the world off my shoulders

If it was ever hard to move

She’d turn the rain to a rainbow

When I was living in the blue

Why then if she is so perfect

Do I still wish that it was you

Perfect don’t mean that it’s working

So what can I do

When you’re out of sight

When you’re out of sight

In my mind

Cause sometimes

Cause sometimes

I look in her eyes and

That’s where I find

A glimpse of us

And I try

To fall for her touch

But I’m thinking of

The way it was

Said I’m fine

And said I moved on

I’m only here passing time in her arms

Hoping I’ll find

A glimpse of us

Tell me he savors your glory

Tell me he savors your glory

Does he laugh the way I did

Is this a part of your story

One that I had never lived

Maybe one day you’ll feel lonely

And in his eyes you’ll get a glimpse

Maybe you’ll start slipping slowly

And find me again

When you’re out of sight

When you’re out of sight

In my mind

Cause sometimes

Cause sometimes

I look in her eyes and

That’s where I find

A glimpse of us

And I try

To fall for her touch

But I’m thinking of

The way it was

Said I’m fine

And said I moved on

I’m only here passing time in her arms

Hoping I’ll find

A glimpse of us

Oooh

Oooh

Oooh-ooh-ooh

Oooh

Oooh-oooh-oooh-ooh-ooh

Cause sometimes

Cause sometimes

I look in her eyes and

That’s where I find

A glimpse of us

And I try

To fall for her touch

But I’m thinking of

The way it was

Said I’m fine

And said I moved on

I’m only here passing time in her arms

Hoping I’ll find

A glimpse of us