Could you check, whether the MANIFEST.FM in your bundle imports the package?
On 22.05.2014 20:07, oskysal wrote: > Hi Krzysztof, > > Thank you for your quick response. > > My package imports camel-avro/2.12.3 > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-avro</artifactId> > <version>2.12.3</version> > <scope>provided</scope> > </dependency> > > and I also tried it by importing org.apache.servicemix.bundles.avro: > > <dependency> > <groupId>org.apache.servicemix.bundles</groupId> > <artifactId>org.apache.servicemix.bundles.avro</artifactId> > <version>1.7.3_1</version> > <scope>provided</scope> > </dependency> > > But no luck. > > > *karaf@root> exports | grep org.apache.avro.generic > 189 org.apache.avro.generic; version=1.7.3.1* > > Bundles: > *[ 188] [Active ] [ ] [ ] [ 50] Apache ServiceMix :: > Bundles :: snappy-java (1.0.4.1_1) > [ 189] [Active ] [ ] [ ] [ 50] Apache ServiceMix :: > Bundles :: avro (1.7.3.1) > [ 190] [Active ] [ ] [ ] [ 50] camel-avro (2.12.3)* > > Any idea? > > Regards, > Oscar > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/SMX-5-0-1-RuntimeCamelException-ClassNotFoundException-org-apache-avro-generic-GenericContainer-tp5720393p5720400.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. -- Krzysztof Sobkowiak JEE & OSS Architect | Technical Architect @ Capgemini Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center <http://www.pl.capgemini-sdm.com/> | Wroclaw e-mail: [email protected] <mailto:[email protected]> | Twitter: @KSobkowiak Calendar: goo.gl/yvsebC
