You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/25 10:39:00 UTC

[jira] [Updated] (CAMEL-11591) ClassNotFound: javax.servlet.ServletOutputStream in opentracing example client

     [ https://issues.apache.org/jira/browse/CAMEL-11591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-11591:
--------------------------------
    Fix Version/s: 2.19.3
                   2.20.0

> ClassNotFound: javax.servlet.ServletOutputStream in opentracing example client
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-11591
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11591
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-opentracing
>    Affects Versions: 2.19.2
>            Reporter: Gary Brown
>             Fix For: 2.20.0, 2.19.3
>
>
> When testing 2.19.2 release candidate, I tried the examples/camel-example-opentracing - started up the service1 and service2, but when running the client I had a number of exceptions:
> {noformat}
> Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletOutputStream
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_131]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_131]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_131]
> 	at org.apache.camel.component.http.HttpProducer.createMethod(HttpProducer.java:397) ~[camel-http-2.19.2.jar:2.19.2]
> 	at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:98) ~[camel-http-2.19.2.jar:2.19.2]
> 	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.19.
> {noformat}
> On inspection of the dependencies from 2.19.1:
> {noformat}
> [INFO] +- org.apache.camel:camel-http:jar:2.19.1:compile
> [INFO] |  +- org.apache.camel:camel-http-common:jar:2.19.1:compile
> [INFO] |  |  \- javax.servlet:javax.servlet-api:jar:3.1.0:compile
> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
> [INFO] |  |  \- commons-logging:commons-logging:jar:1.2:compile
> [INFO] |  \- commons-codec:commons-codec:jar:1.10:compile
> {noformat}
> but for 2.19.2:
> {noformat}
> [INFO] +- org.apache.camel:camel-http:jar:2.19.2:compile
> [INFO] |  +- org.apache.camel:camel-http-common:jar:2.19.2:compile
> [INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
> [INFO] |  |  \- commons-logging:commons-logging:jar:1.2:compile
> [INFO] |  \- commons-codec:commons-codec:jar:1.10:compile
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)