Skip to content

Tag: java-11

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 FlywayAuto…

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: grea…

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 qu…

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 alon…