[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] [p2 director] Third party package bombs on "javax.crypto" package dependency


I'm using p2 director to provision a feature into CDT Neon 3 Linux 64-bit without running the target application on a Mac OS X host with Oracle JDK 1.8.0_131_b11. One of the 3rd party bundles I'm using in the feature is causing the following error message due to a missing "javax.crypto" bundle dependency which should be present in JDK 1.7 and above:


Cannot complete the install because one or more required items could not be found.

ÂSoftware being installed: Feature (org.xxxxx.studio.feature.feature.group

ÂMissing requirement: Netty/Handler 4.1.11.Final (io.netty.handler 4.1.11.Final) requires 'package javax.crypto 0.0.0' but it could not be found

ÂCannot satisfy dependency:

 From: Feature (org.xxxxx.studio.feature.feature.group

 To: io.netty.handler [4.1.11.Final]

Application failed, log file location: .../eclipse/configuration/1498784746909.log


I'm invoking the p2 director using the following CLI command:

java -jar $ECLIPSE_HOME/plugins/$LAUNCHER_JAR \

  -application Â$P2_DIRECTOR        Â\

  -repository  "file://$P2_REPOSITORY"   \

  -installIU  Â"org.xxxxx.studio.feature.feature.group"  Â\

  -tag     ÂAddStudio          \

  -profile   ÂSDKProfile         Â\

  -destination Â$ECLIPSE_HOME

P2_REPOSITORY points to a local update site which for this feature which loads without any problem when using the "Install New Software" UI based installation mechanism.Â

After scouring the web I found a few Tyco related posts, but they did not seem to apply or shed any light. I've not integrated Maven/Tyco to build the project yet. I think I've exhausted most of my options and wanted to check here as a last resort.

Any idea what I might be doing wrong? Anything I can try to remedy this problem?

Thanks in advance,