Get the App
SLTechnology News&Howtos  ›  Development  › 

SpringBoot project setting breakpoint debug debugging invalid how to solve

Shulou Source: shulou.com Published: 2022-06-01 00:43:41 10月02日 Update

This article "SpringBoot project setting breakpoint debug debugging invalid how to solve" the knowledge points of the article most people do not understand, so the editor summarized the following content, detailed, clear steps, with a certain reference value, I hope you can read this article can have a harvest, let's take a look at this "SpringBoot project setting breakpoint debug debugging invalid how to solve" article.

Just got in touch with the springboot project

(1) found that breakpoint debug debugging is ineffective, very depressed, online search for solutions.

What I see are some very complicated schemes, which are said to be remote debugging, but also have another slogan to start. This is different from the traditional project, so I don't think it's necessary.

So after groping, I found a simpler way, and the steps are as follows:

Add a paragraph of configuration to the plugin section of the pom file:

False

So it's ok.

(2) with regard to the problem of error reporting web.xml file is missing in SpringBoot project, because traditional web project requires web.xml file, but SpringBoot project does not need web.xml file, but the mechanism of web project is to retrieve whether there is a web.xml file in the project, so at this time, his SpringBoot project will mistakenly report that there is no problem with web.xml file, so the solution is:

Add a paragraph of configuration to the plugin section of the pom file:

False above is about "SpringBoot project setting breakpoint debug debugging invalid how to solve" this article content, I believe we all have a certain understanding, I hope the editor to share the content to help you, if you want to know more related knowledge content, please follow the industry information channel.

Tags: Project document content breakpoint tradition article step knowledge article part question previous configuration complexity depression necessity report value method again Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info macOS Redmi Huawei