【Problem Description】
After installing jdk1.8.0_74,
the environment variables are configured, and the java runtime environment points to the jdk/jre directory.
The eclipse svn plug-in connection code base reports an error:
svn: E175002: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
【Environmental configuration】
Before the svn connection was normal, the machine did not install jdk, only jre was installed, jre version:
jre1.8.0_51
OS Version: Windows 7 Professional Service Pack 1 64-bit
eclipse version:
svn plugin version:
【Solution steps】
1. I found a lot of information on the Internet, but failed to solve it. Note that svn: E175002: The cause of the error behind this error code is not the same. The results found in Baidu did not match my error.
2. Google saw my workaround for this on stackoverflow:
http://stackoverflow.com/questions/14149545/java-security-cert-certificateexception-certificates-does-not-conform-to-algori
It seems to be a problem with the security certificate connection. I changed the configuration of java.security according to the answer , but I still can't do it here.
3. Analyze the reason: Eclipse is written in Java and needs to run on the JVM. After installing the new version of jdk last night, I configured the environment variables, and the java running environment points to the newly installed jdk directory; therefore, when the svn plugin establishes a connection with the code repository Error, the specific reasons still need to be further explored.
4. Uninstall
the jdk1.8.0_74 version and delete
the jdk1.8.0_74
environment variable configuration.
5. Restart eclipse, the problem is solved, and svn connects to the code repository normally.
The reason is probably: this version is downloaded from the non-official website, I have uninstalled it, and it seems that the javax.net directory is missing from the reserved src.zip, so this file cannot be found: javax.net.ssl.SSLHandshakeException
【summary of a problem】
1. For technical problems, it is best to use Google to search for answers. Baidu’s problem solving is often a waste of time.
2. It is best to download JDK, JRE, IDE, plug-ins, etc. through the official website.