IntelliJ shows errors in scala source files, but the project compiles successfully

I am working with a project in an intellij IDEA IDE based on maven. I can fulfill all the maven goals, but IntelliJ shows a lot of errors in the source code, for example, below:

enter image description here

Everything went perfectly a few hours ago. I do not understand why the IDE continues showing errors. When I rebuild or compile the whole project (CTRL + F9) or one scala class. I always get a success message:

enter image description here

I already configured the scala plugin before, so I don’t know what is going on.

thanks for the help

+5
source share
4 answers

IDEA , Database DateTime, , , , . 3- , Joda Time.

, SBT sbt-idea IDEA . gen-idea, IDEA. , .

+2

IntelliJ . :

> "Invalidate Caches/Restart"

"Invalidate and Restart" IntelliJ .

+5

There are many errors raised in the crack of jetbrains errors. I suggest you raise some mistakes or vote for existing ones.

It looks like the problem you are facing, with a type of backlight that is worse than useless.

+1
source

thank you for your responses.

I solved this problem importing the project again.

0
source

All Articles