score:-1
we just had the same problem and apparently the answer today is just wait it out.. this is for anyone experiencing this problem in modern 2020.03 versions of eclipse.. its a problem from eclipse's servers that are sometimes not reachable.. just wait an hour or so and try again later.. it should work as long as it has worked before of course..
score:1
this is because your pc cann't connect to the http://marketplace.eclipse.org/api/p?product=org.eclipse.epp.package.jee.product&os=win32&runtime.version=3.6.0.v20100505&client=org.eclipse.epp.mpc.core&java.version=1.7.0_07&product.version=1.3.2.20110218-0812&ws=win32
you can set a network proxy on windows--> preferece --> network connection.
score:1
i have the same problem and it occurs when you download eclipse standard 4.3.1 . you have to download eclipse ide for java ee developers.
score:1
uninstall current version of java. go to www.java.com, download recommended version of java. after successful install. verify java installed (located on home page - www.java.com). should work then... mine did.
score:1
add below args :
-djava.net.preferipv4stack=true
to the end of the eclipse.ini file and it should work.
score:1
if you are in an organisation try to ask your colleague developer that have an active marketplace for there casert.cer file and replace it in your jdk
score:1
yes, i did face the same issue. here is the fix
problem:
eclipse.buildid=4.21.0.i20210906-0500
java.version=16.0.2
java.vendor=oracle corporation
bootloader constants: os=win32, arch=x86_64, ws=win32, nl=en_us
command-line arguments: -os win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.jee.product
org.eclipse.epp.mpc.core
**error**
thu sep 16 13:07:14 ist 2021
cannot complete request to https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.21: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable to find valid certification path to requested target
org.eclipse.core.runtime.coreexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable to find valid certification path to requested target
at org.eclipse.epp.internal.mpc.core.transport.httpclient.httpclienttransport.stream(httpclienttransport.java:117)
solution:
in order to resolve this issue, i copied my security/cacert file from my jre (java-se-8u41/jre/lib/security/cacert) to my eclipse (/eclipse/../jre/lib/security/cacert) e.g. /eclipse/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149/jre/lib/security/cacert
reference: for more detail and step by step guide along with screen-shots, you may refer the following url : https://thebasictechinfo.com/java-8/pkixunable-to-find-valid-certification-path-to-requested-target-fix/
enjoy ๐
score:3
verify you can reach that url by command line or so.
if you are connected with vpn, disconnect vpn and try again. it works for me.
score:3
the only way i could fix this was by importing the certificate into "cacerts"
here are the steps to follow:
- copy the link that eclipse is having problem to access, by using details button, then paste it to google chrome browser and press enter.
in my case link was: https://marketplace.eclipse.org/api/p?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.21
just beside the link in your browser there is lock icon, hover over it, should show "view site information"
click on the lock icon -> click on "connection is secure" -> click on "certificate is valid" and a dialog called "certificate" should pop up.
go to the tab "details" and click on the button "copy to file..."
follow the export wizard steps to export certificate file (.cer) export the file on format "der encoded binary x.509 (.cer)"
save the file to desktop with name "marketplacecert.cer"
now copy this certificate file to the folder where the jre is located in your eclipse folder installation
in my case: c:\eclipse-cpp-2021-09-r-win32-x86_64\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149\jre\lib\security
in this folder you should find a file called "cacerts", where we gonna import the certificate through "keytool.exe"
now open cmd prompt and go to the folder: cd c:\eclipse-cpp-2021-09-r-win32-x86_64\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149\jre\lib\security
we gonna have to use a tool called "keytool.exe" to import the certificate file, which is located at: "c:\eclipse-cpp-2021-09-r-win32-x86_64\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.2.v20210721-1149\jre\bin" two folders up from our current location, to execute it we gonna use the relative path ....\bin\keytool.exe
run the following command on cmd prompt: ....\bin\keytool.exe -import -alias alias -keystore cacerts -file marketplacecert.cer
keytool.exe will ask for a password, which is "changeit"
keytool.exe will ask to trust the certificate, type "yes" and press enter.
done. now restart eclipse and marketplace should be working.
refer to this link for more details: https://thebasictechinfo.com/java-8/pkixunable-to-find-valid-certification-path-to-requested-target-fix/
score:12
i had the same problem the sulotion was to copy my ...security/cacert from my jre and then paste it in my eclipse .....\eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507\jre\lib\security (replace cacert of the eclipse by cacert of jre)
score:27
you can solve u r problem like this, in eclipse ide go to windows --> preference --> general --> network connection --> select active provider to direct --> apply --> ok.
Source: stackoverflow.com
Related Query
- Eclipse: MarketplaceDiscoveryStrategy failed with an error
- Eclipse installation failed with an error
- Qt C++, Eclipse (on Win 7) - project build failed with "unresolved reference to _Unwind_Resume" error
- Eclipse profiling with perf - PERF_FLAG_FD_CLOEXEC failed with unexpected error 13 (permission denied)
- Eclipse is throwing "Synchronize Gradle projects with workspace failed due to an error connecting to the Gradle build."
- New Eclipse & Android Install - Conversion to Dalvik format failed with error 1
- Eclipse. MarketplaceDiscoveryStrategy failed with an error
- Eclipse Photon Installation failed with an error
- tomcat 8 in Eclipse Luna failed to start : Error with directory [C:\Program Files\Eclipse\eclipse\lib]
- Conversion to Dalvik failed with error 1 after updating ADT 16.0.1 to ADT 18.0 in Eclipse
- Conversion to Dalvik format failed with error 1 on Eclipse for Mac
- I habe ane error messege while installing Eclipse (Installation failed with an error)
- MarketplaceDiscoveryStrategy failed with an error Cannot complete request to https://marketplace
- Eclipse error "ADB server didn't ACK, failed to start daemon"
- Multiple contexts with the same path error running web service in Eclipse using Tomcat
- "Unresolved inclusion" error with Eclipse CDT for C standard library headers
- "A configuration with this name already exists" error in eclipse run configurations
- "duplicate entry" error when exporting Java project to JAR with Eclipse
- "No source available for main()" error when debugging simple C++ in Eclipse with gdb
- SVN error on connecting with eclipse
- Plugin execution not covered by lifecycle configuration error in eclipse with pluginManagement in parent pom
- Eclipse crashes with a GC overhead limit exceeded error
- Error importing Maven Android Android project to Eclipse with ADT 20
- Failed to create the part's controls in Eclipse with Salesforce
- Installing Android Plugin Error with Eclipse Juno 4.2.0
- Eclipse project not built on Mac due to 'A resource exists with a different case' error
- Eclipse Kepler auto exit on loading workbench with error
- Eclipse Juno build error with "Maven Project Builder"
- Eclipse error on mapping with @EmbeddedId
- Error with parsing Android sdk content and initializing java tooling in eclipse
More Query from same tag
- c++ on mac / eclipse does not show error when crashing
- 'Hot code replace' not working -- Eclipse doesn't change any code on JBoss
- WebLogic plugin within Eclipse
- How to use (share) a project wide spellcheck dictionary in Eclipse?
- Creating FragmentTabHost causing some trouble
- Api to Generate Reports in mylyn, Tasktop Pro
- Closing youtube standalone activity
- why is my box returning to origin only when slide to right
- append function to add <li> with <ul> dynamically not working in android emulator,but works in browser's well
- Eclipse Mars JavaScript Editor not recognizing errors
- JUnit Plug-in Tests Ignoring Target Platform
- dont know where to put this code in my java file
- why are my eclipse code error labels lagging
- configure an eclipse based IDE
- how to remove the error label for project in eclipse?
- "HTTP status 404 - Not Found" while running in tomcat
- accessing derby database from eclipse and ij simultaneously
- Android / Eclispe: how to run my app on device or emulator in release mode ? (if any...)
- Merge GitHub branch into local branch
- Scaffolding a new Angular app with Yeoman and Bower causes Eclipse out of memory
- C# plugin for Eclipse
- Eclipse jetty plugin -- class not found websocketfactory
- Import existing BlackBerry project in Eclipse
- Installing m2e plugin into Eclipse
- Why does Eclipse sometimes ignore my breakpoints?
- Struts 2 Junit Test case execution failed (StrutsTestCase.getActionProxy:138 ยป NullPointer)
- Why do I get the compiler error "No enclosing instance of type ex4 is accessible"
- Eclipse CDT. "Syntax error" when using Symbols
- How to change Eclipse Preferences programmatically
- After Installing ADT Plugin, Welcome to Android Development Doesnt Appear