简体   繁体   中英

Intellij random errors

I have a few problems with IntelliJ since a few days now. He keeps giving me errors while they aren't really errors, my program runs fine and the errors are always the same. Mostly it's println , Override , LocalDate , Scanner and more.

How do I resolve this problem? Every time I open a new project he will do the same.

http://prntscr.com/5pjlog

http://prntscr.com/5pjlw3

You need to define Project SDK, since you are using Java8 classes, set the ProjectSDK and language to Java 8. 在此处输入图片说明

Something is tangled here. Since you verified the SDK is set up correctly, can I suggest to just clear caches and Restart intellij.

Hope that helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM