IntelliJ IDEA: Tomcat 8.5.13 and 9.0.0.M19 — Error during artifact deployment. See server log for details

后端 未结 2 742
一整个雨季
一整个雨季 2020-12-06 12:23

I can\'t understand what happened. There was no problem 2 days ago and now I can\'t deploy my applications. Any of it. The only thing I\'ve done regarding network was pluggi

相关标签:
2条回答
  • 2020-12-06 12:41

    There appears to a be a deployment issue with the most recent Tomcat versions from IntelliJ IDEA. We have an open bug for that with the patched files attached that you can use to workaround the problem:

    • IDEA-171174 Tomcat 9.0.0.M19: failed to deploy simple WAR artifact

    You can find the patched jar of IntelliJ IDEA Tomcat plug-in, replace <IDEA_HOME>/plugins/Tomcat/lib/tomcatIntegration.jar with it.

    The original issue is caused by this Tomcat bug:

    • Bug 60949 - unable to deploy/undeploy war file using the manager

    This bug is resolved in the following Tomcat versions:

    • 8.5.14 and later
    • 9.0.0.M20 and later

    It's recommended to either wait for/install the fixed Tomcat versions or to revert back to the versions which are not affected by the bug (5.8.12 and 9.0.0.M18), since the workaround for IntelliJ IDEA uses some dirty hacks to make it work with Tomcat 5.8.13 and 9.0.0.M19 which are affected by Bug 60949 (broken JMX).

    0 讨论(0)
  • 2020-12-06 12:49

    The issue got fixed for me by downgrading IntelliJ to 2019.2.4

    0 讨论(0)
提交回复
热议问题