You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mykola Nikishov <mn...@mn.com.ua> on 2019/02/07 13:05:11 UTC

Re: Suddenly getting "NoSuchMethodError" from Maven internals without any obvious change

David Karr <da...@gmail.com> writes:

[...]

> This started happening in one project, among several, on the first build
> after midnight on 1/26.  The previous build, just before midnight, didn't
> fail with this.  Jenkins displays all the git commit ids that it checked
> out for the builds, and they are identical for both builds. That seems to
> indicate that there were no code changes between the successful build and
> the failed build.

IIRC, I had very similar problem when build started using Java 12
instead of Java 8.

--8<---------------cut here---------------start------------->8---
mvn --show-version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.19.0-2-amd64", arch: "amd64", family: "unix"
--8<---------------cut here---------------end--------------->8---

I found it very helpful to run CI jobs with 'mvn --show-version' to spot
changes in JDK/Maven version being used.

-- 
Mykola

Libre/Free Java Software Engineer
https://manandbytes.gitlab.io/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org