| Author |
Message |
|
|
Post subject: JUnit Connect Error?
Posted: Aug 31, 2005 - 05:57 PM
|
|
|
|
When I try to run a test from Eclipse 3.1, I get the following error:
Could not connect to: : 1535
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:754)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:336)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
It's very persistent. Anyone else seen this before? Any ideas on how to get rid of it? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit Connect Error?
Posted: Sep 11, 2005 - 10:21 AM
|
|
|
|
| hi, I had the same error, but after having restarted Eclipse, everything went fine again. The error didn't reappear. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit Connect Error?
Posted: Dec 15, 2005 - 09:48 PM
|
|
|
|
| Thank you very much. Just restarting solved my problem. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit Connect Error?
Posted: Jan 05, 2006 - 01:13 PM
|
|
|
|
thanks. restart worked for me too  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 08, 2006 - 01:22 AM
|
|
|
|
| I have the same error. I tried doing the same thing which was to restart it.. but that didn't work |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 16, 2006 - 07:14 AM
|
|
|
|
| I had the same error. I had to change the jre that my Eclipse project uses to make sure that JUnit and my project were using the same jre. After a restart of Eclipse the error was gone. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 16, 2006 - 12:28 PM
|
|
|
|
| I have exactly the same problem. I'm fighting with my jre's, but none of Your solution works... hmmm |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 19, 2006 - 05:08 AM
|
|
|
|
| Hi, I have the same problem. non of the actiones helped me. I even tried a second eclipse instance and huh there it works. I found no hint while comparing those two. Anybody an idee what to look for ? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 15, 2008 - 10:50 AM
|
|
Joined: May 15, 2008
Posts: 1
|
|
|
|
|
 |
|
|