Thanks for reporting an issue for Micronaut, please review the task list below before submitting the
issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
Should you build with JDK 11(mvnw clean install), adapt the Dockerfile to use graalvm-java11, no image is generated at all (some NoClassDefError on some Kotlin lib class, micronaut class involved)
Thanks for reporting an issue for Micronaut, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.
Task List
Steps to Reproduce
./mvnw clean package
) (have JAVA_HOME pointed to a JDK8 installation)./docker-build.sh
Expected Behaviour
Stand-alone Docker image successfully created.
Actual Behaviour
Fallback image created.
Exceptions due to step 3 in attached file.
Environment Information
(
./docker-build.sh
run on a WSL2 ubuntu instance. Docker for Windows involved stacktrace.txt )Example Application
MISC
Should you build with JDK 11(mvnw clean install), adapt the Dockerfile to use graalvm-java11, no image is generated at all (some NoClassDefError on some Kotlin lib class, micronaut class involved)