Why can't eclipse resolve class in same package?

后端 未结 17 1883
逝去的感伤
逝去的感伤 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:11

    I've had the same problem with my Java project in eclipse. mvn clean-ing the project did not help strangely. I had to edit the supposedly "missing" class, save it, then clean and rebuild the project. That fixed the issue.

提交回复
热议问题