This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.20.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.20.x by this push: new f39b0f6 CAMEL-12536 - camel-google-mail: adding the camel component to a spring boot project leads to java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; f39b0f6 is described below commit f39b0f667bc506f86cad6865db92f8615b4a75ec Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Jun 1 09:15:46 2018 +0200 CAMEL-12536 - camel-google-mail: adding the camel component to a spring boot project leads to java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; --- components/camel-google-mail/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/camel-google-mail/pom.xml b/components/camel-google-mail/pom.xml index cbf55da..0eab7bc 100644 --- a/components/camel-google-mail/pom.xml +++ b/components/camel-google-mail/pom.xml @@ -58,6 +58,12 @@ <groupId>com.google.oauth-client</groupId> <artifactId>google-oauth-client-jetty</artifactId> <version>${google-api-client-version}</version> + <exclusions> + <exclusion> + <groupId>org.mortbay.jetty</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>com.google.http-client</groupId> -- To stop receiving notification emails like this one, please contact acosent...@apache.org.