Most methods of online search can’t help me
the errors are as follows:
the server selected protocol version tls10 is not accepted by client preferences [tls12]
in the root directory of Java (mine is 1.8), the jdk11 will find the security file under conf, and there is a java.security file under JRE/lib/security, The jdk.tls.disabledalgorithms configuration in this file will disable the tls1.0 version of the transport protocol. At this time, we need to close the protocol and delete tls1.0. Of course, deletion under this file is useless. Most posts on the Internet also say that it is impossible to change this file. Therefore, the following methods are used, Create a new empty file and paste it as follows:
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, \
DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves```
Save it and run the java project:
```bash
-Djava.security.properties=xxx
The above parameters determine the location of the new file. At this time, the error can be solved.
Read More:
- How to Solve SQL comments error in the mybatis query
- How to Solve Java Runtime (class file version 53.0)ERROR
- How to Solve EasyExcel3.0.5 Version Error
- How to Solve JD-GUI Start Error (Mac ARM Version)
- Linux: How to Solve jdk11+easy poi Export Excel Error
- FIX: SSL error when connecting to the Jack server. [How to Solve]
- Spring Security Upgrade to Version 5.5.7, 5.6.4 or Above to Startup Error (Version incompatibility)
- How to Solve java server error (java application Run Normally)
- Mybatis-plus: How to Execute Native SQL
- [Solved] Linux java -jar Start Project Error: Unsupported major.minor version 52.0
- How to Solve Log4j 2.5 upgrade to 2.15 error
- How to Solve ERROR: Java 1.7 or later is required to run Apache Drill
- IDEA-Error java error release version 5 not supported (How To Fix)
- How to Solve Error: Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- How to Solve IntelliJ IDEA Error: Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd…
- How to Solve Swagger error: typeerror: failed to fetch
- How to Solve Flynk Task Java verifyerror 209 error
- How to Solve JUnit Debugging initializationerror ERROR
- How to Solve Errors encountered by maven
- [Solved] mybatis Error querying database. Cause: java.sql.SQLException: The server time zone value