idea cannot hot deploy files under src/main/resources
已回答
i am using idea ultimate 2020.3
i created a maven web project.
when i changed java or jsp files and choose update class and resources, they can be hot deploy. they are war exploded.
however, if i changed files under src/main/resources, e.g. mybatis xml file under src/main/resouces/config/mapper, they cannot be hot deploy.
how can i fix it?



请先登录再写评论。
Here is the related issue: https://youtrack.jetbrains.com/issue/IDEA-182918
As a workaround you may unmark it in Project Structure dialog.
Konstantin Annikov Thanks for your comment. I checked this issue according to your link, it seems that this issue still not fixed.
This is very very very important feature for developers since we will changes files under src/main/resources many times every day.
or what is the workaround when other developers come across this issue?
Here is the workaround I mentioned in my previous comment: https://youtrack.jetbrains.com/issue/IDEA-182918#focus=Comments-27-2671680.0-0
@Konstantin Annikov src/main/resources is not marked as excluded and i'm not use webpack. my project is a maven web project.
Build project not work for me, only redeploy works!
Don't you have excluded folders inside resources folder?
If so, please share your project's structure with all folders unfolded
@Konstantin Annikov i have updated the screenshots in this post, plz check. If you need any other information, plz kindly let me know, thanks!
Can you share a sample project (including .idea directory) and steps to reproduce (what exactly to change)?
You can do that privately on YouTrack: https://youtrack.jetbrains.com/newIssue?project=IDEA