spring (not boot), tomcat, jsp hot reload not working (IJ 2023.2.2)
tried:
edit config: hot swap (and other options) on update and frame deactivation
settings, build/execute/deploy/compiler: build project automatically
advanced settings/compiler: allow auto-make to start even if deployed app is running
setting/compiler/resource patterns: added ".jsp"
cache disabled in browser
nothing works.. the other settings are identical to other projects where hot swap does work
in those apps (where hot swap does work) the edit config, setting, advanced settings, resource patterns were not need to be defined
also in other projects where this does work there is: <change beforePath> for every class and jsp in settings.xml in .idea folder
no idea how those entries were created, nor if thats the reason why it works in other projects
noteworthy: in IJ's internal tomcat ( users\me\appData\local\jetBrains\IntelliJIdea2023.2\tomcat\.. ), there is a non-empty
sub dir named after the exploded war application context that has sub dirs: \org\apache\WEB_002dINF\jsp
for the apps in which hot swap works, there are jsp (.class, .java) files there
however, for the app where hot swap does not work there are no such sub dirs nor files
ideas?
Please sign in to leave a comment.
> however, for the app where hot swap does not work there are no such sub dirs nor files
Sounds like the built output is not deployed correctly. Please check if the artifact and build output match.