-
Notifications
You must be signed in to change notification settings - Fork 156
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
Maven Test Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter #1283
Comments
@jonashackt/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
@jonashackt you can submit a pull request with the changes to our Dockerfile |
…h to yegor maven Docker image, since standard jdk-11 image doesn't seem to be compatible with this project right now)
…h to yegor maven Docker image, since standard jdk-11 image doesn't seem to be compatible with this project right now)
@yegor256 looks like this issue is not actual any more as JDK 11 and 17 are installed in docker |
@jonashackt indeed, we have JDK inside our Docker image now |
I'am using rultor to release my Open Source project https://github.com/codecentric/cxf-spring-boot-starter to Maven Central, which workes great most of the time. Only today I'am facing this error in rultor, popping up after a successful Maven compile phase (full log here):
The tests won´t start up and so seams to already have described the reason: According to the answer (on Oct. 26 2018) this is an openJDK bug, which is fixed in
8u191-b12
.The issue is more for documentation purposes since I guess rultor cannot do so much about it. Rultor uses (according to the log) the Docker image maven:3-jdk-8 which it self is derived via
FROM openjdk:8-jdk
from openjdk:8-jdk, which has been build at Oct. 26 2018. My guess is, to either just wait for openJDK to bring a new Docker image to DockerHub which is based on8u191-b12
or higher - or to change the used Docker image in Rultor (which I wouldn't really preferr, since I also use this image quite a lot in my own projects).The text was updated successfully, but these errors were encountered: