Address already in use: JVM_Bind

后端 未结 9 1541
猫巷女王i
猫巷女王i 2020-12-29 04:39

I\'m using Glassfish 3.0.1, JVM 1.6.0_21 on Windows XP Pro;

I don\'t know exactly what has changed in my environment but I get this stacktrace as soon as I try to de

9条回答
  •  伪装坚强ぢ
    2020-12-29 04:53

    My answer does 100% fit to this problem, but I want to document my solution and the trap behind it, since the Exception is the same.

    My port was always in use testing a Jetty in a Junit testcase. Problem was Google's code pro on Eclipse, which, I guess, was testing in the background and thus starting jetty before me all the time. Workaround: let Eclipse open *.java files always w/ the Java editor instead of Google's Junit editor. That seems to help.

提交回复
热议问题