Error:
java.lang.NoClassDefFoundError: javax/net/SocketFactory
at com.mongodb.MongoClientOptions$Builder.<init>(MongoClientOptions.java:677)
at com.mongodb.MongoClient.<init>(MongoClient.java:218)
Partial MANIFEST.MF from 3.0.0-beta3:
Import-Package: io.netty.bootstrap;resolution:=optional;version="[4.0,
5)",io.netty.buffer;resolution:=optional;version="[4.0,5)",io.netty.c
hannel;resolution:=optional;version="[4.0,5)",io.netty.channel.nio;re
solution:=optional;version="[4.0,5)",io.netty.channel.socket;resoluti
on:=optional;version="[4.0,5)",io.netty.channel.socket.nio;resolution
:=optional;version="[4.0,5)",io.netty.handler.ssl;resolution:=optiona
l;version="[4.0,5)",io.netty.handler.timeout;resolution:=optional;ver
sion="[4.0,5)",io.netty.util.concurrent;resolution:=optional;version=
"[4.0,5)",org.slf4j;resolution:=optional;version="[1.7,2)"
Partial MANIFEST.MF from 2.12.3:
Import-Package: javax.management,javax.net,javax.net.ssl,javax.securit
y.sasl,javax.security.auth.login,javax.security.auth,org.ietf.jgss
Conclusion:
Dependency generation for OSGi is broken in 3.0.0.
- is duplicated by
-
JAVA-1680 Missing Import-Package entries
- Closed