Excuse me, Tomcat needs to mvn package every time it starts. What's the problem?

1. After updating the project, I found that Tomcat did not load the latest project resources
2. I need to mvn package every time I start Tomcat, otherwise my project will not be up-to-date (no matter what has been changed, I need to mvn package o (updated items) o)
3). Use the IDEA editor
4. Ask Daniel to solve it

Mar.04,2021

your problem is that IDEA does not compile the project, and IDEA simply saves the file, not the compiled file.

you can use IDEA's macro operation to compile, record an IDEA macro as ctrl+s-> this macro includes save operation and compile operation, then it can be saved and compiled when you do ctrl+s.

aside: jrebel can be hot deployed and dynamically compiled myjrebel can achieve free effect

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b383c1-2b645.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b383c1-2b645.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?