You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Daniel Stoch (Jira)" <ji...@apache.org> on 2022/02/16 16:05:00 UTC

[jira] [Created] (SM-5023) Spring-web misses some import packages

Daniel Stoch created SM-5023:
--------------------------------

             Summary: Spring-web misses some import packages
                 Key: SM-5023
                 URL: https://issues.apache.org/jira/browse/SM-5023
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: bundles-2022.01
            Reporter: Daniel Stoch


I am trying to use spring-web-5.3.15 bundle and JettyClientHttpConnector class:
{code}
 ClientHttpConnector connector = new JettyClientHttpConnector();
{code}
This call raises an exception:
{noformat}
java.lang.NoClassDefFoundError: org/reactivestreams/Publisher
...
Caused by: java.lang.ClassNotFoundException: org.reactivestreams.Publisher cannot be found by org.apache.servicemix.bundles.spring-web_5.3.15.1
{noformat}

I thing this bundle misses some (optional?) import of "org.reactivestreams". Maybe there are more missing imports like "reactor.core.publisher", ...?




--
This message was sent by Atlassian Jira
(v8.20.1#820001)