Intellij Cannot resolve symbol on import

前端 未结 29 1899
耶瑟儿~
耶瑟儿~ 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 19:15

    I had a similar issue with my imported Maven project. In one module, it cannot resolve symbol on import for part of the other module (yes, part of that module can be resolved).

    I changed "Maven home directory" to a newer version solved my issue.

    Update: Good for 1 hour, back to broken status...

提交回复
热议问题