maven “cannot find symbol” message unhelpful

后端 未结 15 1926
挽巷
挽巷 2020-11-28 12:11

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

15条回答
  •  青春惊慌失措
    2020-11-28 13:04

    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.

    Turn the class scope for provided solved the problem.

提交回复
热议问题