Intellij idea using Spring-boot-devtools Invalid solution

Source: Internet
Author: User

I believe most of the students who use IntelliJ will encounter this problem, even if the project uses Spring-boot-devtools, modified the class or HTML, JS, etc., idea will not automatically restart, do not have to manually make or restart,

The same is not the case with a hot deployment. This happens, not your configuration problem, believe yourself, the hot deployment of the few settings is very simple, the root cause is because IntelliJ Ieda and Eclipse, Eclipse set the automatic compilation of

, the modified class is automatically compiled, and idea is automatically compiled without run or debug (provided you have set up Auto-compile).

So much nonsense, how to solve it? Please be patient and look down.

First, the idea setting must be ticked inside.

Then shift+ctrl+alt+/, choose Registry

After entering, find the option as shown, tick

OK, restart the project, then change the contents of the class, and idea will automatically go to make.

http://blog.csdn.net/wjc475869/article/details/52442484

Intellij idea using Spring-boot-devtools Invalid solution

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.