I should add an advice concerning your bundle. Use the version of the library as the version of your bundle.
Best Regards, Stevens Gestin On Sun, Jun 1, 2008 at 1:43 PM, dishmily <[EMAIL PROTECTED]> wrote: > > 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<http://felix.apache.org/site/maven-bundle-plugin-bnd.html#MavenBundlePlugin%28BND%29-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] > > -- Le respect commence par celui de l'environnement

