Unable to use xmpp-websocket-client from Java module

Issue #159 new
Marcel Dopita created an issue

I’m unable to use xmpp-websocket-client in a project that uses Java modules. Launching anything from that module results in following error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Marcel Dopita\.m2\repository\rocks\xmpp\xmpp-websocket-client\0.8.1\xmpp-websocket-client-0.8.1.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.glassfish.tyrus.client.ClientManager not in module

I’m using Java 11. I replicated it in a simple project that has only one module and contains only this library (xmpp-websocket-client).

I’m not sure if it’s related to #114 and/or this library is supposed to run under modules.

Comments (2)

  1. Christian Schudt repo owner

    Hi, first sorry for the late response.

    This seems to be related to the Tyrus library, which is referenced by xmpp-websocket-client. I guess you need to add it to the module path.

  2. Log in to comment