testng-team / testng-eclipse

Eclipse plug-in for TestNG
https://testng.org
194 stars 164 forks source link

Missing org.slf4j.impl during TestNG 7.8.0 Plugin install #561

Closed cgarman closed 10 months ago

cgarman commented 1 year ago

Problem Statement

I did a clean install of Eclipse 2023-09:

Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) Version: 2023-09 (4.29.0) Build id: 20230907-1323

I then tried to install the TestNG 7.8.0 through the Help->Install New Software Wizard. As I walked through that, I ended up at the Install Remediation Page with this error:

Your original request has been modified. "Guava: Google Core Libraries for Java" will be ignored because a newer version is already installed. Cannot complete the install because one or more required items could not be found. Software being installed: TestNG P2 Feature 7.8.0.r202306071539 (org.testng.p2.feature.feature.group 7.8.0.r202306071539) Missing requirement: slf4j-api 1.7.36 (slf4j.api 1.7.36) requires 'java.package; org.slf4j.impl 1.6.0' but it could not be found Cannot satisfy dependency: From: TestNG P2 Feature 7.8.0.r202306071539 (org.testng.p2.feature.feature.group 7.8.0.r202306071539) To: org.eclipse.equinox.p2.iu; slf4j.api [1.7.36,1.7.36]

So I can't seem to get the TestNG P2 Feature with the latest version installed.

I could use some input other whether there's something I can do to fix this, or if it is something I don't need to worry about.

Any relate message in "Error Log" view

"Windows -> Show View -> Others -> Error Log"

Not that I could tell, aside from a repeat of the missing requirement.

The Dependency Management tool for your project

Operating System

missedone commented 11 months ago

could you try with the latest version 7.9.0.202312310355

cgarman commented 10 months ago

@missedone looks good with version 7.9.0.202312310355

ksh-b commented 7 months ago

Getting this with 7.9.0

Cannot complete the install because one or more required items could not be found. Software being installed: TestNG 7.9.0.202312310355 (org.testng.eclipse.feature.group 7.9.0.202312310355) Missing requirement: slf4j-api 1.7.36 (slf4j.api 1.7.36) requires 'java.package; org.slf4j.impl 1.6.0' but it could not be found Cannot satisfy dependency: From: TestNG 7.9.0.202312310355 (org.testng.eclipse.feature.group 7.9.0.202312310355) To: org.eclipse.equinox.p2.iu; org.testng.p2.feature.feature.group 6.9.12 Cannot satisfy dependency: From: TestNG P2 Feature 7.8.0.r202306071539 (org.testng.p2.feature.feature.group 7.8.0.r202306071539) To: org.eclipse.equinox.p2.iu; slf4j.api [1.7.36,1.7.36] Cannot satisfy dependency: From: TestNG P2 Feature 7.9.0.r202312310341 (org.testng.p2.feature.feature.group 7.9.0.r202312310341) To: org.eclipse.equinox.p2.iu; slf4j.api [1.7.36,1.7.36]