Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JUnit problem
JUnit problem [message #5526] Fri, 25 April 2003 04:37 Go to next message
Eclipse UserFriend
Hello!

I've just installed Eclipse 2.1 on my Windows 2000 workstation and discover
very strange error while running my JUnit unit tests:
java.lang.IllegalArgumentException: Error: parameter '-port' not specified
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.defau ltInit(RemoteTes
tRunner.java:239)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.init( RemoteTestRunner
..java:177)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( RemoteTestRunner
..java:166)
Exception in thread "main"

This error come up in all attempts to run unit test:
1) In Run -> Run As -> JUnit Test
2) In separate JUnit runtime configuration.

Could you help me with any advise?

P.S. My tests is OK. I can run them in other IDE's (Intellij IDEA,
JBuilder)...
Re: JUnit problem [message #5581 is a reply to message #5526] Fri, 25 April 2003 11:04 Go to previous message
Eclipse UserFriend
I have fixed this problem by removing Ad-Muncher software which filered
network connections.

> I've just installed Eclipse 2.1 on my Windows 2000 workstation and
discover
> very strange error while running my JUnit unit tests:
> java.lang.IllegalArgumentException: Error: parameter '-port' not specified
> at
>
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.defau ltInit(RemoteTes
Previous Topic:Modify an expression during runtime?
Next Topic:new wsad based on 2.1? when?
Goto Forum:
  


Current Time: Sun Jun 08 09:33:28 EDT 2025

Powered by FUDForum. Page generated in 0.08412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top