Error opening zip file or JAR manifest missing :groovyHotSwap\gragent.jar
D:\Enviroment\apache-tomcat-8.5.60\bin\catalina.bat run[2021-07-26 02:20:43,162] Artifact Gradle : com.wyc : hrm-payroll-web.war: Waiting for server connection to start artifact deployment...Error ope
·
D:\Enviroment\apache-tomcat-8.5.60\bin\catalina.bat run
[2021-07-26 02:20:43,162] Artifact Gradle : com.wyc : hrm-payroll-web.war: Waiting for server connection to start artifact deployment...
Error opening zip file or JAR manifest missing : C:\Users\rmc\AppData\Local\JetBrains\IntelliJIdea2020.3\groovyHotSwap\gragent.jar
Using CATALINA_BASE: "C:\Users\rmc\AppData\Local\JetBrains\IntelliJIdea2020.3\tomcat\bd7b1002-0ab0-444c-be6c-3772726b4173"
Using CATALINA_HOME: "D:\Enviroment\apache-tomcat-8.5.60"
Using CATALINA_TMPDIR: "D:\Enviroment\apache-tomcat-8.5.60\temp"
Using JRE_HOME: "D:\Enviroment\jdk-1.8.0_265"
Using CLASSPATH: "D:\Enviroment\apache-tomcat-8.5.60\bin\bootstrap.jar;D:\Enviroment\apache-tomcat-8.5.60\bin\tomcat-juli.jar"
Using CATALINA_OPTS: ""
Error occurred during initialization of VM
agent library failed to init: instrument
Disconnected from server
运行不会有问题,debug启动有很大概率出现这个问题。
如何解决?
-
尝试重装,发现无效。因为这个文件还是存在,还是会出问题,我很确定卸载的时候有把他删掉。
-
看提示信息,Error opening zip file or JAR manifest missing,解压 gragent.jar 后并没有发现少了什么。
-
继续排查,知道的原因或解决方法的朋友可以评论区留言
-
# GroovyHotSwap 插件防止在 Tomcat 中启动调试,这个链接说把groovy插件禁用,试了5遍,都正常启动了。
更多推荐
所有评论(0)