作者:锋丽恋歌521 | 来源:互联网 | 2023-09-05 12:47
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
1.出现以上错误是因为启动端口被占用:
lsof -i:启动tomact端口
查到pid,kill -9 该pid,杀死该进程
重启tomcat
2.如果上述方法不好使 执行bin目录下的
shutdown.sh