Run Error - Problems debugging junit in build #2233

Running a junit works fine. When attempting to debug the same junit a "Run Error" dialog appears with the following text:
"Error running : Cannot Connect to Remote Process. Host unknown: {local hostname}"

It appears as if it is trying to run remotely even though the configuration is setup under the JUnit tab of the Run/Debug Configurations dialog.

Am I missing something?

Thanks in advance.
jason

0
Avatar
Permanently deleted user

BTW: this is with the Linux distribution

Thoughts? Anybody?

0
Avatar
Permanently deleted user

jd wrote:

Running a junit works fine. When attempting to debug the same junit a "Run Error" dialog appears with the following text:
"Error running : Cannot Connect to Remote Process. Host unknown: {local hostname}"


What does your hostfile look like? My guess is that your local machine
name cannot be resolved to an ipaddress. What happens if you try to ping
your own machine? What IP address is returned?

If it's not there already, try adding you local machine name to the
'localhost' entry in your hosts file, i.e., it would look something like
this:

127.0.0.1 localhost yourmachine

hth,
Edwin

0

请先登录再写评论。