Maven Eclipse Debug “JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)”

前端 未结 8 1750
野的像风
野的像风 2020-12-15 03:23

I\'m trying to debug Maven tests in Eclipse. When I launch tests with the maven option maven.surefire.debug, I get this error :

ERROR: transport error 202: b         


        
8条回答
  •  抹茶落季
    2020-12-15 04:13

    first of all remove all debug points in eclipse

    search for PID with server port
    netstat -ano|find /i "7001"
    replace 7001 with your port number in above line

    sample o/p C:\Users\shaithal>netstat -ano|find /i "7001" TCP 127.0.0.1:51340 127.0.0.1:7001 SYN_SENT 17396

    then kill that process taskkill /F /PID 17396

    search for PID with debug port also netstat -ano|find /i "8453" 8453 is debug port in my case replace 8453 with your port number in above line

    sample o/p

    C:\Users\shaithal>netstat -ano|find /i "8453" TCP 0.0.0.0:8453 0.0.0.0:0 LISTENING 19904

    then kill that process taskkill /F /PID 19904

提交回复
热议问题