camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <>
Subject [jira] [Created] (CAMEL-9439) Cannot use camel-geocoder in Karaf
Date Mon, 21 Dec 2015 17:48:46 GMT
Matt Sicker created CAMEL-9439:

             Summary: Cannot use camel-geocoder in Karaf
                 Key: CAMEL-9439
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.16.1
         Environment: Karaf 3.0.x, Java 1.8
            Reporter: Matt Sicker

>From a fresh install of Karaf, I add the Camel feature repository and run feature:install
camel-geocoder. Using a basic geocoder endpoint, I get the following exception:

java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder
	at org.apache.camel.component.geocoder.GeoCoderProducer.process(
	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(
	... 23 more

This appears to be caused by the feature ""
which uses optional for all its import packages which is incorrect as it appears to require
gson (amongst other things).

This message was sent by Atlassian JIRA

View raw message