Getting “cannot find Symbol” in Java project in Intellij

前端 未结 24 914
清酒与你
清酒与你 2020-12-04 10:33

I make this call to a static singleton instance from the class GameManager.java.

HUD.getInstance().update(timeDelta);

HU

24条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 11:19

    In my case, I had a problem with finding a class from another module. In pom.xml, I just had this dependency with compile specified. Removing this line helped.

提交回复
热议问题