port fix for COMPRESS-289 from Commons Compress
PR 56849 - don't even try to create a classpath without a project component
PR 56830 classloader hint when assigning refs fails