Intellij Cannot resolve symbol on import

前端 未结 29 1867
耶瑟儿~
耶瑟儿~ 2020-11-30 18:10

This problem happens intermittently for different libraries and different projects. When trying to import a library, the package will be recognized, but the class name can\'

29条回答
  •  天命终不由人
    2020-11-30 18:50

    For 2020.1.4 Ultimate edition, I had to do the following

    View -> Maven -> Generate Sources and Update Folders For all Projects

    The issue for me was the libraries were not getting populated with mvn -U clean install from the terminal.

提交回复
热议问题