I am very new in Java Spring framework. I have created a custom bundle and want to deploy the jar/bundle in virgo server.But I am not able to successfully do so.
Here is my template.mf file screen , where I have added the dependency
Here is my java file , where I have imported the packages
Here is the original jar file screen
Here is my pom.xml where I have added the dependency
But once deploying the jar file after maven build (which throws no error ) I am constantly getting the error
Caused by: org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.xyz.costfromsap.application' at version '1.4.0.RELEASE': Cannot resolve: com.xyz.costfromsap.application
Resolver report:
An Import-Package could not be resolved. Caused by missing constraint in bundle <com.xyz.costfromsap.application_1.4.0.RELEASE>
constraint: <Import-Package: com.sap.conn.jco; version="[3.0.0,4.0.0)">
Here is my updated dependency jar file after converting it to OSGI bundler
I have also updated the template.mf and pom.xml
But still the issue persists.
Aucun commentaire:
Enregistrer un commentaire