求解决微信公众号天气预报问题

我明明有MyX509TrustManager() 为什么还会报“java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection”

看你的代码,你错将HttpURLConnection当作了HttpsURLConnection