HTTP protocol error: com.sun.net.ssl.internal www.protocol.https.HttpsURLConnectionOldImpl resolvent

Follow the rising sun_ 24, please click:

https://blog.csdn.net/xuri24/article/details/82220333

Application server: JBoss server

JDK environment: JDK1.6

Communication protocol: http/HTTPS

Scene: local project docking with external project (interface programming), especially bank docking, etc

Use the external system provided by the SDK, which encapsulates the HTTP communication protocol. It is normal to use the SDK for calling. When importing the local project for docking, an error is reported in the calling request

sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection

Similar Posts: