I get the error “SimpleTests.java is a non-project file, only syntax errors are reported Java (16)” in all my files. What should I do to get rid of this?
The VM uses
java-17-openjdk have you tried it with this version?
If this doesn’t help, the issue might be that you did not open the project root folder, but a subdirectory.
For the Java Analyzer in VS Code to work properly, make sure to open the project root directory directory
project4 (the location to where you cloned the project), not e. g.
project4/src/tests or even just a single file.
Thank you very much, that was indeed my issue