[ERROR] Method java.nio.charset.Charset.isSupported(Ljava/lang/String;)Z was not found
at org.jsoup.helper.DataUtil.validateCharset(DataUtil.java:280)
at org.jsoup.helper.DataUtil.getCharsetFromContentType(DataUtil.java:269)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:907)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
[ERROR] Method java.nio.charset.Charset.isSupported(Ljava/lang/String;)Z was not found
at org.jsoup.helper.DataUtil.validateCharset(DataUtil.java:278)
at org.jsoup.helper.DataUtil.getCharsetFromContentType(DataUtil.java:269)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:907)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
[ERROR] Class java.net.CookieManager was not found
at org.jsoup.helper.HttpConnection$Request.(HttpConnection.java:661)
at org.jsoup.helper.HttpConnection.(HttpConnection.java:100)
at org.jsoup.helper.HttpConnection.connect(HttpConnection.java:80)
at org.jsoup.Jsoup.connect(Jsoup.java:91)
at com.mohi.Client.main(Client.java:236)
[ERROR] Method java.net.URL.openConnection(Ljava/net/Proxy;)Ljava/net/URLConnection; was not found
at org.jsoup.helper.HttpConnection$Response.createConnection(HttpConnection.java:1021)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:856)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
[ERROR] Class java.net.IDN was not found
at org.jsoup.helper.HttpConnection.punyUrl(HttpConnection.java:147)
at org.jsoup.helper.HttpConnection.encodeUrl(HttpConnection.java:126)
at org.jsoup.helper.HttpConnection.encodeUrl(HttpConnection.java:119)
at org.jsoup.helper.HttpConnection.url(HttpConnection.java:184)
at org.jsoup.helper.HttpConnection.connect(HttpConnection.java:81)
at org.jsoup.Jsoup.connect(Jsoup.java:91)
at com.mohi.Client.main(Client.java:236)
[ERROR] Class java.net.CookieManager was not found
at org.jsoup.helper.CookieUtil.applyCookiesToRequest(CookieUtil.java:41)
at org.jsoup.helper.HttpConnection$Response.createConnection(HttpConnection.java:1033)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:856)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
[ERROR] Class java.net.CookieManager was not found
at org.jsoup.helper.CookieUtil.storeCookies(CookieUtil.java:87)
at org.jsoup.helper.HttpConnection$Response.(HttpConnection.java:1074)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:868)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
[ERROR] Class java.net.SocketTimeoutException was not found
at org.jsoup.internal.ConstrainableInputStream.read(ConstrainableInputStream.java:58)
at java.util.zip.GZIPInputStream.(TGZIPInputStream.java:56)
at java.util.zip.GZIPInputStream.(TGZIPInputStream.java:33)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:912)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
[ERROR] Class java.net.SocketTimeoutException was not found
at org.jsoup.internal.ConstrainableInputStream.read
at java.util.zip.GZIPInputStream.(TGZIPInputStream.java:56)
at java.util.zip.GZIPInputStream.(TGZIPInputStream.java:33)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:912)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at com.mohi.Client.main(Client.java:236)
This may happen if you have JSoup version greater than 1.6.3 like:
Replace it with version 1.6.3:
TeaVM version 0.7.0 at the moment does not play well with JSoup versions greater than 1.6.3 yet.
No comments:
Post a Comment