Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
MQTT embedded broker: fix missing import (#6262)
Browse files Browse the repository at this point in the history
Fixes: #6246

The error has been caused by a missing Import-Package for a javax.security
related one (see diff) that is used by Netty internally.

I tracked it down the road:

* io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioServerSocketChannel
* Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.DefaultChannelId
* java.lang.NoClassDefFoundError: Could not initialize class io.netty.util.internal.EmptyArrays
* java.lang.NoClassDefFoundError: javax/security/cert/X509Certificate

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
  • Loading branch information
maggu2810 authored and kaikreuzer committed Sep 24, 2018
1 parent 84ece98 commit df3c61e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -8,6 +8,7 @@ Bundle-Version: 0.10.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ClassPath: ., lib/moquette-broker-0.11.jar, lib/netty-all-4.1.19.Final.jar
Import-Package:
javax.security.cert,
org.apache.commons.io,
org.apache.commons.lang,
org.apache.commons.net.util,
Expand Down

0 comments on commit df3c61e

Please sign in to comment.