1、在dos窗口可以正常开启和关闭tomcat
2、在idea中配置完tomcat,debug运行报错,报错信息如下
Unable to add C:\Users***.IntelliJIdea2019.3\system\captureAgent\debugger-agent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
Disconnected from the target VM, address: '127.0.0.1:65507', transport: 'socket'
3、使用绿色箭头run启动tomcat,报错如下:
Error during artifact deployment. See server log for details.
4、前两天是只有debug启动不了,会报错ping不到1099端口,但run启动是正常的。重新安装idea和重新配置tomcat后就出现了以上问题。
网络上能用的方式都试了,无法解决问题,请各位大牛,给看看吧
看日志提示是说添加的时候报错了,估计是没有权限修改那个文件夹导致,建议可以换下文件夹,不要把idea安装在c盘,有很多地方没有操作权限
会不会是jdk版本问题,我用的是tomcat9和jdk11