You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use HttpURLConnection instead of HttpsURLConnection. This is giving ClassCastException in weblogic. Working fine when I changed to HttpURLConnection .
You should never explicitly import/use Sun Java SE implementation specific classes in your code.
Initially we use HttpsURLConnection because we wanted to deal with certificate, but yes looks like that's no longer needed and will be cleaned.
I also found this post on stackoverflow and it might be helpful in your case. Basically try to do this in your server: set JAVA_OPTIONS=%JAVA_OPTIONS% -DUseSunHttpHandler=true
Please use HttpURLConnection instead of HttpsURLConnection. This is giving ClassCastException in weblogic. Working fine when I changed to HttpURLConnection .
You should never explicitly import/use Sun Java SE implementation specific classes in your code.
Link to similar issue:
http://stackoverflow.com/questions/3038026/using-java-class-httpsurlconnection
The text was updated successfully, but these errors were encountered: