This is how it should beIt should be showing the highlighted line as error.I tried to configure the intellij platform plugin sdk for my maven project, but it did not fix rhe problem.
I checked the jdk path and it's pointing to the right place.
I am completely lost on how to resolve this and any help would be appreciated