-
Notifications
You must be signed in to change notification settings - Fork 9
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
java.lang.NoClassDefFoundError: org/testcontainers/utility/PathUtils #37
Comments
testcontainers/testcontainers-java#1454 (and it reopened. good.) |
Does it even work?
Looks like this plugin is not supported by the authors from the same organization... do I not understand something? |
(this relates both to testcontainers-java and to this maven plugin, so posting here as well) This is what Maven documentation states:
So, I guess, the maven plugin should clean up the shutdown hooks created by testcontainers-java? |
Any news here? I get the same error with MYSQL, followed the official guide:
|
@oxygenecore The comment you quoted from testcontainers/testcontainers-java#1454 is from 2019, it significantly predates the creation of this plugin and hence is not related with regards to org not supporting this plugin. However, the technical investigation is of course related. @sivaprasadreddy is the author of this plugin. I don't know if this exception (maybe originating from executing of the shutdown hook) is really an issue in the context of this use case (which file are we supposed to delete?). Can we technically remove the shutdown hook from within the plugin? |
@kiview This is a known issue due to the mentioned testcontainers-java issue#1454. |
In this case, I'd consider this issue very low severity and fixing it is more of a nice to have. |
I also think, that the issue is low severity, but it shouldn’t be ignored, since it looks terrible to see always the stacktrace in each build. Also for new users it isn’t a good experience. |
This might be a low level of severity. So until this issue is resolved, it should be pinned or specified in README, or at least https://testcontainers.com/guides/working-with-jooq-flyway-using-testcontainers/ but I'm glad this issue goes active. 😃 |
Please note that this only happens with MariaDB: testcontainers/testcontainers-java#1454 (comment) Sure it's annoying but it's not a bug of the plugin so IMO this issue should be closed. |
We are using MYSQL and we see the same error. So it is not only related to MariaDB. |
Ok let's say it's MySQL/MariaDB problem. BUT again it's not a bug of the plugin. |
How should the issue then be dealt with? |
It's covered by this issue testcontainers/testcontainers-java#1454 |
Version of plugin 0.0.3
Version of jooq: 3.18.7
Version of testcontainers: 1.19.3
This error appeared all the time, even in case of successful runs.
Can be related to testcontainers/testcontainers-java#1454
The text was updated successfully, but these errors were encountered: