ÆÊÎöÏ¢Õù¾öEclipse×°ÖÃGit²å¼þʧ°ÜÎÊÌâ
×î½üÔÚѧϰgit°æ±¾¿ØÖƵÄʱ¼ä£¬Óöµ½ÁËeclipse×°ÖÃgit²å¼þʧ°ÜµÄÎÊÌ⣬¾ÓÉʵÑéÖÕÓÚ½â¾öÁË¡£
Ê×ÏÈ£¬ÎÒÔÚEclipseÖÐʵÑéͨ¹ýMarketplace×°ÖÃGit²å¼þ£¬¿ÉÊÇ×°ÖÃһֱʧ°Ü£¬±¨´íÐÅÏ¢ÈçÏ£º
“Fetching content from https://marketplace.eclipse.org/content/egit-git-team-provider
Unable to read repository at https://marketplace.eclipse.org/content/egit-git-team-provider/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
¾ÓÉÒ»·¬ËÑË÷ÓëÏàʶ£¬ÎÒ·¢Ã÷Ôµ¹ÊÔÓÉÊÇEclipseĬÈÏʹÓÃÁËJava7£¬¶øMarketplaceÍøÕ¾ÐèҪʹÓÃJava8¼°ÒÔÉÏ°æ±¾¡£ÒÔÊÇ£¬ÎÒÃÇÐèÒªÊÖ¶¯½«EclipseÉèÖÃΪʹÓÃJava8¡£
Ïêϸ°ì·¨ÈçÏ£º
1.ÏÂÔز¢×°ÖÃJava8¡£
2.ÕÒµ½EclipseµÄ×°ÖÃÎļþ¼Ð£¬ÔÚeclipse.iniÖÐÌí¼ÓÒ»ÐÐÈçÏ´úÂ룺
-vm
C:\Program Files\Java\jdk1.8.0_171\bin\javaw.exe //ÕâÀïµÄ·¾¶ÐèÒªÌ滻ΪÄãÍâµØµÄJava8×°Ö÷¾¶
3.ÉúÑÄÎļþ²¢ÖØÐÂÆô¶¯Eclipse¡£
4.ÔÙ´ÎʵÑéÔÚMarketplaceÖÐ×°ÖÃGit²å¼þ£¬Õâ´Î¾Í¿ÉÒÔÀÖ³ÉÁË¡£
ÁíÍ⣬ÈôÊÇÄãÔÚEclipseÖÐ×°ÖùýÆäËû²å¼þºóÒ²Óöµ½ÁË×°ÖÃʧ°ÜµÄÇéÐΣ¬¿ÉÒÔʵÑéɨ³ýEclipseµÄ»º´æÀ´½â¾öÎÊÌâ¡£ÏêϸҪÁìÈçÏ£º
1.¹Ø±ÕEclipse¡£
2.ÕÒµ½EclipseµÄworkspaceÎļþ¼Ð£¬É¾³ýÆäÖеÄ.metadataÎļþ¼Ð¡£
3.ÖØÐÂÆô¶¯Eclipse¡£
×ÜÖ®£¬½â¾öEclipse×°ÖÃGit²å¼þʧ°ÜµÄÎÊÌâÐèÒªÎÒÃÇÕÆÎÕһЩ»ù±¾µÄJava֪ʶ£¬²¢ÇÒÒªÓÐÄÍÐÄÈ¥ËÑË÷ºÍʵÑ顣ϣÍûÕâƪÎÄÕÂÄܹ»×ÊÖúµ½ÓÐͬÑùÎÊÌâµÄÅóÙ¡£
ÒÔÉϾÍÊÇÆÊÎöÏ¢Õù¾öEclipse×°ÖÃGit²å¼þʧ°ÜÎÊÌâµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡