hi, thanks. as i have not understood how to use BND as well, i created a
Mysql-Bundle and exported the importend package, finally it works!



Martin Thelian wrote:
> 
> dishmily schrieb:
>> i have also met the same problem when i try do use mysql in osgi
>> platform:
>>
>> osgi> java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
>>
>> how can i let mysql work in osgi platform? when i try to use extra
>> library
>> in osgi platform, such problem like "class not found" occured always.
>>   
> If you don't want to create a mysql-bundle on your own, you could embed 
> mysql into the bundle using it. See [1]
> 
> Martin
> 
> [1] 
> http://felix.apache.org/site/maven-bundle-plugin-bnd.html#MavenBundlePlugin(BND)-Embeddingdependencies
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-Ehcache-in-OSGI-Platform-tp17534813p17584755.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to