-
Notifications
You must be signed in to change notification settings - Fork 323
IPv issues with Java 8 #34
Comments
Hello @Nilhcem, I would like to look at the issue. Could you please tell me how to reproduce it? I have Java 8 (I am using OS X currently with Java 8 (51)), and integration tests work fine. This is what I see in logs: 28 Jul 2015 21:05:09 INFO org.subethamail.smtp.server.SMTPServer - SMTP server *:2525 starting
28 Jul 2015 21:05:09 INFO org.subethamail.smtp.server.ServerThread - SMTP server *:2525 started Kind regards, |
Hm. It seems that I haven't tested all features properly. If you start the data binding on localhost:2525, the server starts well. However after the integration tests run, the exception below is thrown: java -jar fakeSMTP-2.1-SNAPSHOT.jar -a 127.0.0.1 -b -s -p 2525
28 Jul 2015 21:13:25 INFO org.subethamail.smtp.server.SMTPServer - SMTP server /127.0.0.1:2525 starting
28 Jul 2015 21:13:25 INFO org.subethamail.smtp.server.ServerThread - SMTP server /127.0.0.1:2525 started
Exception in thread "org.subethamail.smtp.server.ServerThread /127.0.0.1:2525" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:121)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:440)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:396)
at ch.qos.logback.classic.Logger.error(Logger.java:559)
at org.subethamail.smtp.server.ServerThread.run(ServerThread.java:81)
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.ThrowableProxy
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 5 more |
Hello! I'm started FakeSMTP and view: java -jar fakeSMTP-2.0.jar -b --start-server --port 2525 --bind-address 127.0.0.1 and view: tcp6 only? why? This may be fixed? |
"If I want to use FakeSMTP with Java 8, I have to specify that it should use the IPv4 stack instead of the IPv6 stack. Otherwise, FakeSMTP doesn’t work properly."
The text was updated successfully, but these errors were encountered: