My application is a form of “web scraper” which loads the HTML from a desired input page using the Java Jsoup library. I recently upgraded my application platform from Java 8 to Java 11. With this upgrade, I have received several reports from my clients saying that they receive SSLHandshakeExceptions while trying to load the HTML content of certain webpages.
Tag: java-11
Is OpenJDK 11 or AdoptOpenJDK same stable like Oracle JDK [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
How to map a JSON response to a Java class using Java 11 HttpClient and Jackson?
I’m new to the Java 11 HttpClient and would like to give it a try. I have a simple GET request that return JSON and I would like to map the JSON response to a Java class called Questionnaire. I understand that I can turn the response out of box into a String or an input stream like this How
Flyway can’t find classpath:db/migrations
I just started right now a new project in Intellij using Spring Boot ver 2.1.3 and Flyway 5.2.4 with Java 11. After try to start my project i got : I have the following folders: As you can see i have “db/migration” but without any migration, i just started right now. Debugging the class FlywayAutoConfiguration i got the following: So,
Docker and jre 11 in Debug mode
I was trying to get a remote debug session running on my docker container. Actually the debug session always gets blocked by an IOException.. Dockerfile Entrypoint: Any ideas, whats wrong with this? Answer since java 9 you have to specify your adapter, or simply use an escaper for the debug host as such: great documentation in openjdk btw..
How to avoid “Sharing is only supported for boot loader classes because bootstrap classpath has been appended” warning during debug with Java 11?
Recently I switched to the Java 11 and start to debug my app and saw this message: OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended Found only this commit and ticket, but it doesn’t tell me much. Do I need to worry about it? Answer I had this issue
Eclipse internal error “Polling news feeds”
I’m using Eclipse(4.9.0) on my MacBook (High Sierra, Java 11) and this error is showing sometimes, if I’m on another app, the errors create a “stack” as you see in the screenshot, it is annoying to come back to Eclipse and to close this error every time. Can somebody help me solve this? Answer This indeed seems to be an
How do you invoke schemagen in Java 11?
According to Oracle documentation the schemagen tool is removed from the JDK as part of JEP 320 (http://openjdk.java.net/jeps/320). That JEP points to Maven artifacts that now supply the missing tools. The coordinates of the artifacts are wrong in the JEP, updated coordinates are found in an answer to this question: Which artifacts should I use for JAXB RI in my
Minimum Spring version compatible with Java 11
I need to upgrade an app to Java 11 very soon, I was wondering what’s the minimum Spring version that is compatible with Java 11. I’m currently using Java 8 and Spring 4.2.7. Answer From their task tracker — SPR-16391:Compatibility with JDK 11. The compatibility of JDK 10, 11 is planned along with 5.1 GA release. JDK 11 is currently