Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

How to solve: An Import-Package could not be resolved. Resolver error data

$
0
0

Hi, 

I'm trying to add 3rd party library into my web sdk.

I would like to add "jsch" in to my sdk,

When I followed the FAQ "How to use 3rd party java libraries?", but still not worked..but i got error for this.

An Import-Package could not be resolved. Resolver error data <Import-Package: com.jcraft.jsch; version="0.0.0"> .

Caused by missing constraint in bundle <com.mycompany.myPlugin.mycompany-plugin-service_1.0.0> constraint: <Import-Package: com.jcraft.jsch; version="0.0.0">

. Caused by missing constraint in bundle <com.accelstor.plugin.accelstor-plugin-service_1.0.0>
             constraint: <Import-Package: com.jcraft.jsch; version="0.0.0">

 

First add jsch-0.1.53.jar into server\repository\usr then edited MANIFEST.MF with added "com.jcraft.jsch" but still get error with above output.

Can anyone help me to fix this problem? 


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>