IntelliJ idea Hot Load Automatic Update (update classes and resources)

Source: Internet
Author: User

IntelliJ idea The default file is saved automatically, but there is a project JSP file on hand that doesn't immediately respond to changes in Tomcat. If you want to see changes immediately after the JSP file changes, you can modify the configuration to achieve.
In Idea In the configuration of server in Tomcat, there is an on frame deactivation, select Update classes and resources. There is also a configuration on update action, which is the manual operation of the time to take what action, you can restart the server, you can update the class and resource files as above, I chose Update classes and resources, you can also choose redeploy.
On update action: When an update is found, select Update classes and resources on frame deactivation:Select Update classes and resources when idea switches (such as indent, open page, etc.)However, the current project does not have update Classes and ResourcesThis option, there is a hot Swap classes. This is due to the server added artifact type problem, generally a module corresponds to two types ofArtifact, one is war, one is war explored. The War is the release of the war package, the current project is this form, in this form oN Frame deactivation configuration without update classes and resources options. War explored is the publish file directory, choose this form, ON Frame deactivation appears in Update classes and resources options.

From for notes (Wiz)

IntelliJ idea Hot Load Automatic Update (update classes and resources)

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.