IntelliJ IDEA highlights @Entity class names with "Cannot resolve symbol" in JPQL
Solution 1:
Seems like you have not selected the default JPA provider in facet configuration. Depending upon which provider you are using, pick one from the list. Available options are EclipseLink, Hibernate, OpenJPA, TopLink
Solution 2:
Make sure you have JPA or Hibernate facet configured in IntelliJ IDEA for your module.