Wildfly doesn't load static files like html, xhtml
Answered
Hello,
I use Wildfly 13 with Intellij but static files don't get hot deployed. Each time I need to restart the server.
Probably files are cached but I couldn't find out why. This a JSF project. I hot deploy classes with Hot Swap Agent, it works. Only problem is static files swap.
Here is my settings.
Thank you so much,
ear:exploded


Please sign in to leave a comment.
Hello,
Don't you have "war" artifacts inside ear:exploded?
Hello,
Yes, they exist.. so the war is not opened automatically.. okay this might be the problem.
Now I saw an answer at stackoverflow,
"Unpack nested archives" of the .ear in the File->Project Structure:
should be checked? Is that the solution?
I can't try this now because of the below issue :( I'm really tired of this one.
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360002029980-Internal-caches-are-corrupted-or-have-outdated-format-forcing-project-rebuild-java-io-FileNotFoundException
Thank you
Yes, you could use this option or add exploded war inside ear artifact.
What IDE version do you use? Do you have symlinks in path? Similar problem was fixed in recent update: https://youtrack.jetbrains.com/issue/IDEA-202756
Thank you, I use 2018.3.1
Could you please try 2018.3.2 RC: https://confluence.jetbrains.com/display/IDEADEV/IDEA+2018.3+EAP
Sorry for writing a bit late. I tried the "Unpack nested archives" option but it didn't work.
I still can't see the changes at my static files without restarting the server. Also I can't see anything under my Wildfly/standalone/deployment directory. Where does Intellij explode everything?
Probably I miss something but I stop spending time for this issue. Also my 1 month free licence expires soon. Intellij didn't make me happy this time :(
Hi.
Please provide:
- full idea.log after reproducing an error,
- complete textual result from Run/Debug tool window after attempt to deploy in IDEA
- screenshots of Server, Deployment tabs of Run/Debug Configuration