Blog

Spurious ClassNotFound Exception during maven builds

I first observed this behavior on our build server running Jenkins. We have two build jobs, building snapshot versions. Project A and B. Project B depends on A. Always dealing with snapshots. Jenkins ran the standard mvn clean install command. Now, when both jobs were running in parallel on Jenkins, sometimes project B failed during compilation or running unit tests with weird ClassNotFound exceptions. The missing classes were from project A, of course.

Read more...



Comments

No comments yet.

Leave a comment

Your email address will not be published. Required fields are marked *. All comments are held for moderation to avoid spam and abuse.


Andreas Dangel | subscribe via RSS | adangel | .onion © Copyright 2024. adangel.org (26 May 2024)