[BZ-1100187] avoid to prevent the kproject compilation when a class cannot be loaded