#1231 closed defect (fixed)
Exception in thread "main" java.lang.NoClassDefFoundError: net/i2p/client/streaming/I2PSocketManagerFull
Reported by: | Eche|on | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.12 |
Component: | streaming | Version: | 0.9.11 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
Moin
Trying to start old jwebcache from source, and it hits me with a:
INFO: Creating socket manager from keyfile.
Exception in thread "main" java.lang.NoClassDefFoundError?: net/i2p/client/streaming/I2PSocketManagerFull
at jwebcache.JWebcache.createI2PSocketManager(Unknown Source)
at jwebcache.JWebcache.<init>(Unknown Source)
at jwebcache.JWebcache.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException?: net.i2p.client.streaming.I2PSocketManagerFull
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController?.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader?.loadClass(ClassLoader?.java:425)
at sun.misc.Launcher$AppClassLoader?.loadClass(Launcher.java:308)
at java.lang.ClassLoader?.loadClass(ClassLoader?.java:358)
… 3 more
On a 0.9.11-11 I2P router.
echelon
Subtickets
Change History (2)
comment:1 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 7 years ago by
Component: | apps/other → streaming |
---|
This is also in i2phex source which we don't have control over. Added additional workarounds in streaming in 04fc8b8009a665f73c926f761989ec650b2b75a0 0.9.11-18.
So either jwebcache 0.2.6 with router < 0.9.11-18 or jwebcache < 0.2.6 with router 0.9.11-18 should work.
i2phex will work with 0.9.11-18 or higher, or 0.9.9 or lower. Broken in 0.9.10 and 0.9.11.
Caused by moving the streaming classes to impl, but jwebcache should not have been referencing it. Removed the reference.
Fixed in 7fb6d4af6d55d51370491df866f03fdf8c881cf8 (branch i2p.jwebcache)