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

前端 未结 8 1764
野的像风
野的像风 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 03:48

    To kill a process listening on a port:

    This command should list processes listening on all ports:

    netstat -ano
    

    The -o option will display the process id.

    If you're using a *nix system, you can refine a little further with:

    netstat -ano | grep  
    

    When you have the process id, you can terminate it with:

    Windows:

    • Open Task Manager, add the PID column with View > Select Columns > PID
    • Find the process and right-click to kill it

    Others:

    kill 
    

提交回复
热议问题