Spring boot is not a success in the idea of using the Devtools Heat distribution agency!

Source: Internet
Author: User
Searching the internet for a lot of articles about spring boot using the devtools issue, it is said that the problem of unsuccessful is mainly the following two points:

1. Tick the Build Project automatically option in Settings->build,execution,deployment->compiler:

2, press ctrl+shift+alt+/, combination key, select 1. Registry, check compiler.automake.allow.when.app.running

Finally, you can see the effect of the heat-distribution programme by re-starting the project.

But I tried for a long time and still didn't respond.

Then, I try to will need to heat the package path, forcibly use additional-paths: configuration, found in the change, idea has re-release action, I thought I can, happy too early, the new code is still not updated, it seems that this speculative approach or not.

Finally, I finally found the problem, which is not mentioned on the Internet, every time I start the project, are using Gradle->tasks->application->bootrun

The problem arises here, if you use the project's startup configuration directly, such as:

The Gebb has come into effect. Ha

Guessing should be the result of Gradle startup and the project's own startup configuration!

Spring boot is not a success in the idea of using the Devtools Heat distribution agency!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.