I’ve been building the uber jar for many versions. The latest builds fine, but when I run it I get:
Warning: environ value C:\Program Files\AdoptOpenJDK\jdk-8.0.252.09-hotspot\ for key :java-home has been overwritten with C:\Program Files\AdoptOpenJDK\jdk-8.0.252.09-hotspot\jre
Exception in thread “main” java.lang.ClassFormatError: Duplicate method name “equiv” with signature “(Ljava.lang.Object;)Z” in class file metabase/util/i18n/UserLocalizedString
I remove the 2 instances of “equiv” and works fine.
clojure.lang.Util$EquivPred
(equiv [this other]
(= (.toString this) (.toString other)))
Any ideas ?
I see the offending code was added in Commit: 199c1b6fddb45c48829b1be8a0a476601caa3dd9 [199c1b6]
Parents: 024d6011eb, 9cacb8271a
Building with openjdk version “1.8.0_252”
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
Running with openjdk version “1.8.0_252”
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)