Scanner cannot be resolved to a type