Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the Spring Boot-related features of the new features of Intellij IDEA 2017

2025-03-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces the Intellij IDEA 2017 new features of the Spring Boot-related features of which, have a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian with you to understand.

Run Dashboard

Run Dashboard method is provided to replace the traditional run method for Spring boot. Let's take a look at the panel structure diagram provided on the official website:

Is it very cool? you can see the startup project of Springboot directly through Dashboard, and display the corresponding port and other information. At the same time, you can also do the corresponding operation here. Let's see how to call out Dashboard.

First, your project should be a springboot project. Then go to Edit configurations, click the + sign, find the springboot option, and add a springboot configuration.

Then configure, name,Main class (startup class containing the main method), working directory,Use classpath of module,jre, and so on.

The most important thing is to check whether the following Show in Run Dashboard is checked, and if it is not checked, check it.

This completes the configuration of this new feature. Give it a try. The effect is the same as that provided by the official website.

Actuator endpoints

After starting springboot by following the steps above, you will notice that a tab entry for Endpoints appears on the right. This item also includes Health, Beans, and Mappings.

For example, Mappings can display information such as the address of the request exposed by Springboot. You can try the specific functions on your own. However, you need to configure the corresponding dependencies in the pom file before using this feature.

Org.springframework.boot spring-boot-starter-actuator 1.2.3.RELEASE thank you for reading this article carefully. I hope the article "what are the Spring Boot-related features of the new features of Intellij IDEA 2017" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report