﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19173	"Building no longer includes ""org/apache/commons/jcs/engine/control/CompositeCacheManager$ShutdownHook.class"""	mvogt	team	"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"	defect	new	minor		Core				
