Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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



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 Method)
at java.lang.ClassLoader?.loadClass(ClassLoader?.java:425)
at sun.misc.Launcher$AppClassLoader?.loadClass(
at java.lang.ClassLoader?.loadClass(ClassLoader?.java:358)
… 3 more

On a 0.9.11-11 I2P router.



Change History (2)

comment:1 Changed 7 years ago by zzz

Resolution: fixed
Status: newclosed

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)

comment:2 Changed 7 years ago by zzz

Component: apps/otherstreaming

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.

Note: See TracTickets for help on using tickets.