Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.19.2
-
None
-
Unknown
Description
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:
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.
On inspection of the dependencies from 2.19.1:
[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
but for 2.19.2:
[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