Why can't eclipse resolve class in same package?

后端 未结 17 1862
逝去的感伤
逝去的感伤 2021-01-31 15:56

I hit F5 ~1000 times and restarted eclipse (also with -clean), deleted /bin, but nothing helps. Manually importing DoodleClient does not help. DoodleClient exists and is perfect

17条回答
  •  野的像风
    2021-01-31 16:23

    None of the things above worked.

    However I could fix it like this:

    1. Installed a new Eclipse Version
    2. Opened a new workspace
    3. Cloned my Maven projects from my Git repo into the new workspace
    4. Imported them in Eclipse as Maven Projects

    Result: Eclipse finds classes again.

提交回复
热议问题