better message for ClassNotResolvedException case