How to spawn a Actor blueprint in 4.4

I use following code to init a blueprint

static ConstructorHelpers::FObjectFinder<UBlueprint> ItemBlueprint(TEXT("Blueprint'/Game/UMG/BattleGameHUDBp.BattleGameHUDBp'"));
if (ItemBlueprint.Object)
{
	BattleGameHUDBp = (UClass*)ItemBlueprint.Object->GeneratedClass;
}

but there is a error in following picture. I am sure it can work in 4.2.1v