Hi all Ive run into a bit of trouble with some tests and getting ClassNotFoundException / NoClassDefError when the method containing the problem class is executed in the OSGI container as part of a test.
Firstly some background: 1. I modify the test probe bundle using a Customiser so i can avoid the a building step. 2. I remove all of "my" classes from the bundle, i had to do this because the wrong (should not have been included) classes were being packaged in the test probe. This process allows me to customise what in the test probe bundle. 3. Ive added the TestCase and some required helpers class files to the bundle. Ive looked around the temp directory containing all the prepared bundles, osgi container config type files and i can see the test and the helpers that are not found are all in the right place of the test probe bundle. What could possibly be wrong, given that the classes are present but cannot be "found ? Suggestions welcomed. -- mP
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
