{"id":2796,"date":"2020-02-28T15:33:01","date_gmt":"2020-02-28T14:33:01","guid":{"rendered":"https:\/\/www.xenonique.co.uk\/blog\/?p=2796"},"modified":"2020-03-01T19:06:27","modified_gmt":"2020-03-01T18:06:27","slug":"intellij-idea-19-3-3-hot-deployment-and-update-of-web-resources-fails","status":"publish","type":"post","link":"https:\/\/www.xenonique.co.uk\/blog\/2020\/02\/28\/intellij-idea-19-3-3-hot-deployment-and-update-of-web-resources-fails\/","title":{"rendered":"Intellij IDEA 19.3.3 hot deployment and update of web resources fails"},"content":{"rendered":"<p> &nbsp; <\/p>\n<p> &nbsp; <\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/USgK_R_jyWg\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p> &nbsp; <\/p>\n<p> &nbsp; <\/p>\n<p>This is a description of a bug in Intellij IDEA where I have a Java EE 7 web application that deploys to an application server. Here, I am using TomEE 9, however the same issues happens in Payara 5.191 and the bog standard Tomcat 8 \/ Tomcat 9. Essential Intellij fails to synchronise and update any  web resource files in the debug configuration whenever they are changed. The file types are either HTML, CSS, JSP, JSF. Hot deployment used to worked with older versions like IDEA 2018, but something has gone wrong in the newer versions, I think. I suspect it might be the underlying Gradle Integration, but there is no way to actual prove this theory. <\/p>\n<p>To the JetBrains IntelliJ IDEA, technical support team: I am using Gradle 6 and Java JDK 1.8.0_131 and TomEE 8 (9.0.31).<\/p>\n<p>To JetBrains, please fix this bug in IntelliJ IDEA<br \/>\nI saw this was an ancient bug, however it has reappeared again!<br \/>\nSEE Also: https:\/\/intellij-support.jetbrains.com\/hc\/en-us\/community\/posts\/206291959-Hot-deploy-of-JSP-and-other-Web-resources<\/p>\n<h3> Details <\/h3>\n<p>I checked on Windows 10 and also Mac OS X operating systems, Intellij IDEA fails to update the web resources change when debugging the web appliction.<\/p>\n<p>Gradle 6.0.1 ,<br \/>\nJDK 1.8.0_231 ,<br \/>\nTomcat 9.0.31 ,<br \/>\nTomEE 9.0.31 ,<br \/>\nPayara 5.191.1<\/p>\n<p>Hey, I have now filed a bug with the official <a href=\"https:\/\/youtrack.jetbrains.com\/issue\/IDEA-234209\"> JetBrains Intellij IDEA issue tracker (IDEA-234209)<\/a>. <\/p>\n<h2>++++++ PROMOTION +++++<\/h2>\n<p>You can find the link to my online video course: Test-Driven Development using Kotlin <\/p>\n<p>Links to Vimeo On-Demand<br \/>\nHINT: Check if there is a special offer price available<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/389188128?dnt=1&amp;app_id=122963\" width=\"500\" height=\"281\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen title=\"Test-Driven Development using Kotlin by Peter Pilgrim Java Champion\"><\/iframe> <\/p>\n<p>Links to my Teachable site<br \/>\n<a href=\"https:\/\/pilgrim-engineering.teachable.com\/courses\/\">https:\/\/pilgrim-engineering.teachable.com\/courses\/<\/a><\/p>\n<p>And directly here<br \/>\n<a href=\"https:\/\/pilgrim-engineering.teachable.com\/p\/test-driven-development-using-kotlin-by-peter-pilgrim-java-champion\">https:\/\/pilgrim-engineering.teachable.com\/p\/test-driven-development-using-kotlin-by-peter-pilgrim-java-champion<\/a><\/p>\n<p>+PP+<\/p>\n<p>Feb 2020<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; &nbsp; &nbsp; This is a description of a bug in Intellij IDEA where I have a Java EE 7 web application that deploys to an application server. Here, I am using TomEE 9, however the same issues happens in Payara 5.191 and the bog standard Tomcat 8 \/ Tomcat 9. Essential Intellij fails [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[202,4,110,175,31,167],"tags":[],"_links":{"self":[{"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2796"}],"collection":[{"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2796"}],"version-history":[{"count":5,"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2796\/revisions"}],"predecessor-version":[{"id":2801,"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2796\/revisions\/2801"}],"wp:attachment":[{"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenonique.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}