In idea, why does, update resources not work after modifying xml and must be restarted?

Feb.27,2021

idea does not provide the ability to refresh mybatis's xml files. If you really need such a feature, you can write your own thread that monitors changes in the xml file, and then reload the xml file after detecting the change.

refer to Mybatis Hot deployment load Mapper.xml

Menu