I am trying to use com.mchange.v2.c3p0.ComboPooledDataSource in my
camelcontext to create datasource. See below:

<bean id="kimonoDataSource"
class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
        <property
name="driverClass"><value>${jdbc.driverClassName}</value></property>
</bean>

Even though I have included the package in my imported package 

<Import-Package>com.mchange.v2.c3p0, *</Import-Package>

and I also have it in my dependencies

<dependency>
                <groupId>c3p0</groupId>
                <artifactId>c3p0</artifactId>
                <version>0.9.1.2</version>
</dependency>

whixh I can confirmed was downloaded.

I also installed it as an OSGi bundle (install mvn:c3p0/c3p0/0.9.1.2) which
was installed and marked as active.

Each time I want to start my camel application, it still says "The bundle
could not be resolved. Reason: Missing Constraint: Import-Package:
com.mchange.v2.c3p0; version="0.0.0""

Please kindly advise.


-- 
View this message in context: 
http://old.nabble.com/Missing-dependencies%3A-Spring-cannot-find-com.mchange.v2.c3p0-tp27531961p27531961.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to