error when dependency is not resolved