[
https://issues.apache.org/jira/browse/CAMEL-19947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-19947.
---------------------------------
Resolution: Information Provided
> camel-google-bigquery Karaf feature dependency issue
> ----------------------------------------------------
>
> Key: CAMEL-19947
> URL: https://issues.apache.org/jira/browse/CAMEL-19947
> Project: Camel
> Issue Type: Dependency upgrade
> Components: camel-google-bigquery, camel-karaf
> Affects Versions: 3.18.5
> Reporter: Sami Peltola
> Priority: Minor
>
> h3.
> h1. Issue
> Trying to PoC using camel-google-bigquery with a camel-app deployed in Karaf.
> Requires the installation of feature camel-google-bigquery to satisfy the
> dependencies.
>
> h1. Attempted workflow
> * Install camel-google-bigquery:
> ** feature:install camel-google-bigquery
> * {*}com.google.cloud.Service{*}-class from
> "com.google.cloud/google-cloud-core/2.7.1" is missing after install
> ** "find-class" command shows nothing for "find-class
> com.google.cloud.Service"
> ** If you install the bundle "com.google.cloud/google-cloud-core/2.7.1"
> separately, the class is found, but during feature installation, some
> conflict(?) erases it and other classes with the namespace *com.google.cloud*
> * Trying to deploy a camel-app that uses camel-google-bigquery results in:
> ...
> Caused by: java.lang.NoClassDefFoundError: com/google/cloud/Service
> ...
> Caused by: java.lang.ClassNotFoundException: com.google.cloud.Service not
> found by
> wrap_file__home_dildev_.m2_repository_com_google_api_grpc_proto-google-common-protos_2.8.3_proto-google-common-protos-2.8.3.jar
> [298]
> Even if you install all the bundles from the feature one at a time, you'll
> end up with missing dependencies and bundles that refuse to resolve all the
> classes required at runtime.
> h1. Versions
> Karaf: 4.37
> camel-google-bigquery: 3.18.5
--
This message was sent by Atlassian Jira
(v8.20.10#820010)