Immediately after launching the I am getting an exception. I'm working on an Eclipse RCP application and encountering an unresolved dependency related to the httpclient plugin. The error message indicates:
Package: org.apache.commons.codec.binary
Missing Version: [1.13.0,1.14.0)
Stacktrace: org.apache.httpcomponents.httpclient [1090] Unresolved requirement: Import-Package: org.apache.commons.codec.binary; version="[1.13.0,1.14.0)"
OSGI: When I check org.apache.commons.codec in osgi console both org.apache.commons.codec 1.13 and 1.14 are in INSTALLED state not RESOLVED.
- Uninstalling org.apache.commons.codec version 1.14.0 resolves the issue for the httpclient plugin.
- The httpclient plugin works correctly in other similar Eclipse RCP environments.
- org.apache.commons.codec 1.13 is required by JDK 11 itself which was recently changed from JDK 8. by JDK Mission Control
Need to know: What is causing this dependency conflict with org.apache.commons.codec.binary version 1.14.0? Are there alternative solutions besides uninstalling version 1.14.0? How can I ensure compatibility between the httpclient plugin and org.apache.commons.codec in my specific RCP environment?