Aug 1st, 2011, 07:26 AM
Using a createld plugin bundle by STS in an eclipse-osgi context
I have created a Plug-in by STS to use a MySql Database. I want to use this in as a bundle in Eclipse(3.6) in an equinox framework with the rest of my osgi bundles. I have exported the plugin project in STS and i have clicked the "Use compiled class files in workspace" option (if i dont do that STS dont find the required imports while exporting).
After this is done I use this bundle in Eclipse but when i try to use it I get an error with NoClassFoundException. I can solve this error adding another bundle with the corresponding class (or package) wrapped, but I get again another NoClass.. expection with another class, again I can solve it but obviously the chain is too long and this is not a good way.
My question is, what have I to add in Eclipse to solve this problem and work with a plugin generated in STS? Is There any kind of spring-core bundle that has this dependencies solved in order to run it in Eclipse and solve it??..........
Last edited by janorga; Aug 1st, 2011 at 07:40 AM.
Tags for this Thread