This is a really simple question, and it\'s probably a setting somewhere I don\'t know about, but Google is being particularly unhelpful for this question, giving results ab
In my case, I was using a dependency scoped as test. This made the class available at development time but, by at compile time, I got this message.
test
Turn the class scope for provided solved the problem.
provided