Woland Woland - 1 year ago 82
Java Question

Why doesn't IntelliJ find my class?


But project compiles successfully. And method which uses

works right.
Those red lines are annoying me.

IntelliJ IDEA 2016.2.4
Build #IU-162.2032.8, built on September 9, 2016
Licensed to <...>
Subscription is active until July 5, 2017
For educational use only.
JRE: 1.8.0_91-b15 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation

Answer Source

This should be because of something went wrong with synchronizing the build state with editor.


Clean and Build again. :))

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download