Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to use packages with different versions
How to use packages with different versions [message #1857165] Fri, 20 January 2023 13:25
M R is currently offline M RFriend
Messages: 1
Registered: January 2023
Junior Member
Hi,

My plugin requires 2 different versions of **org.apache.log4j**
I have a bundle **org.geotools** which is simple a wrapper for some jars. These jars require **org.apache.log4j** (version** 1.2.15**) which I added to the jars that are already in the bundle **org.geotools**.
BUT my plugin also requires the bundle **org.apache.log4j** that contains the package **org.apache.log4j** in version **1.2.21**.
The build with maven works fine. But the installation of my plugin fails with the error:
> Cannot complete the install because one or more required items could not be found.
Software being installed: ... 1.1.43.202301131246 (de.....feature.feature.group 1.1.43.202301131246)
Missing requirement: Geotools 28.0.0 (org.geotools 28.0.0) requires 'java.package; org.apache.log4j 1.2.15' but it could not be found
Cannot satisfy dependency:
From: ... 1.1.43.202301131246 (de....feature.feature.group 1.1.43.202301131246)
To: org.eclipse.equinox.p2.iu; org.geotools [28.0.0,28.0.0]

What am I doing wrong?
Marco
Previous Topic:Understaning where java*.* imported packages
Next Topic:implementing "inline" suggestions
Goto Forum:
  


Current Time: Tue Apr 23 10:13:08 GMT 2024

Powered by FUDForum. Page generated in 0.03316 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top