Fix noClassDefFound on servers