Attempt to give more feedback when compilation fails due to NoClassDefFoundError