maven “cannot find symbol” message unhelpful

后端 未结 15 1930
挽巷
挽巷 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 12:50

    SOLUTION: @Before building your component (using mvn clean install). Build the entire project once and build your component again

    WHY SO :
    I get this error many times. Most of the times I will try to build my component alone (As I have not made changes elsewhere).

    Right, But that extra jar which has been downloaded recently might have affected by changes done by a third party(inside their component). Making a full mvn clean install on entire project saved me many times

提交回复
热议问题