-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoClassDefFoundError on Windows #15
Comments
I've discovered a workaround for this - if I set the |
@johnwright thank you for the workaround, it fixed the problem for me as well. Perhaps we can add this to the README? But I don't really know what it means or if it has any side effects. |
A new version of the Java Docker client library was just released today that fixes this (uses npipe by default on Windows): https://github.com/docker-java/docker-java/releases/tag/3.2.12 |
Version 3.2.12 of the Docker client improves Windows compatibility by defaulting to named pipes rather than UNIX-domain sockets to talk to the Docker daemon on Windows. Previously, users had to explicitly set `DOCKER_HOST` on Windows. Fixes revolut-engineering#15
Hey all, I forked the plugin and published it under a new group: https://plugins.gradle.org/plugin/dev.monosoul.jooq-docker This issue is fixed there. |
FCSAR-2847 Use jooq version from compile classpath for generation * FCSAR-2847 Use jooq version from compile classpath for generation Approved-by: Kamil Gregorczyk
First of all thanks very much for this plugin!
I originally ran the build on a Mac, with no issues. But on Windows, a 'NoClassDefFoundError` is being thrown. I'll include the stack trace below.
It seems to me that the problem is happening within docker-java, for some reason it's decided to create a
UnixSocketFactory
despite being on a Windows machine. I've tested with:Docker Engine: v20.10.6
JDK 16.0.1
Gradle 6.7
The text was updated successfully, but these errors were encountered: