using spring tool to verify the type of bean object