Hi, for the purpose of using db retrospect feature, I tried to wrap an oracle jdbc driver into osgi bundle as described on spring roo manual section 9.2:
Running addon create wrapper gives me a new maven project, and I ran the package goal on it which gives me an osgi jar. However when subequently trying to install the bundle using osgi start command, it gives me following exception:
Did I miss any step?
Note: currently there are no open-source JDBC drivers for Oracle or DB2 and Roo does not provide OSGi drivers for these databases. If you are an Oracle or DB2 user, you will need to obtain an OSGi-enabled driver from Oracle or IBM respectively or wrap your own Oracle or DB2 driver jars using Roo's wrapping facility. Use the addon create wrapper to turn an existing Oracle JDBC driver into an OSGi bundle you can install into Roo.
roo> osgi start --url file:///G:/workspaces/workspace-sts-2.8.1.RELEASE/oracleWrappedDriver/target/com.gerrytan.wrappedoraclebundle.ojdbc14-10.2.0.2.0001.jar org.osgi.framework.BundleException: Unresolved constraint in bundle com.gerrytan.wrappedoraclebundle.ojdbc14 : Unable to resolve 68.0: missing requirement [68.0] package; (package=javax.resource)