fixed spring error when trying to scan for components