Added missing class to exception message in ServiceLocator