Opened 6 years ago
Last modified 6 years ago
#19173 closed defect
Building no longer includes "org/apache/commons/jcs/engine/control/CompositeCacheManager$ShutdownHook.class" — at Initial Version
| Reported by: | mvogt | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.05 |
| Component: | Core | Version: | |
| Keywords: | jcs cache logging serviceloader services meta-inf | Cc: | simon04, Don-vip |
Description
Building a working josm in a Ubuntu 18.04 environment from svn recently stopped working for me. I did svn co https://josm.openstreetmap.de/svn/trunk/ and ran "ant" in there.
I did build r15937 (and a bunch of version before that) and worked normally. When building r16239 the generated jar file will start but trying to download anything will fail with a crash:
java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.data.cache.JCSCacheManager
(full log at https://paste.ubuntu.com/p/f2Ht8RpZFb/)
Inspecting the two jar files shows that there is indeed a difference in the files for org.apache.commons between the two jars, i.e. r15937 has:
+org/apache/commons/jcs/engine/control/CompositeCacheManager$ShutdownHook.class
but r16237 does not have this file (I have not bisected the exact version though).
Any hints what I can do to get to a working build would be greatly appreciated. Do I need to update anything on my side how I build josm?
Thanks,
Michael


