Hi!

I've tried this, but when I try to start my bundle in servicemix, i get:
Error executing command: The bundle "TestIbatis_0.0.0.Main [212]" could not
be resolved. Reason: Missing Constraint: Import-Package:
org.springframework.orm.ibatis; version="0.0.0"
s

I've been unable to resolve this, do you have a hint for me?

br
/L


Charles Moulliard wrote:
> 
> Hi,
> 
> If you delegate the configuration work to Spring, than you can configure 
> DataSource in a more easier way. As you work on OSGI platform, I 
> recommend that you register your DataSource with the OSGI Service !
> 
> ex of Spring-Ibatis config file
> 
> |<?xml version="1.0" encoding="UTF-8"?>
> &lt;!DOCTYPE beans PUBLIC &quot;-//SPRING//DTD BEAN//EN&quot;
> &quot;http://www.springframework.org/dtd/spring-beans.dtd&quot;&gt;
> 
>      
> 
>          
>              
>                  com.mysql.jdbc.Driver
>              
>              
>                  jdbc:mysql://localhost/test
>              root
>              rootPassword
>      
> 
>      
>          
>              ./spring/ibatis/SqlMapConfig.xml
>          
> 
> 
>      
> |
> 
> Regards,
> 
> Charles
> 


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Using-MyBatis-in-a-camel-route-on-SMX-tp4256837p4287687.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to