Visual Studio Code - Java Classpath is incomplete. Only syntax errors will be reported

后端 未结 6 658
别跟我提以往
别跟我提以往 2021-01-31 18:52

I am making my first steps with java, after some extensive experiences with python. The script I am running is a simple Java Swing Gui, that compiles and runs fine from the comm

6条回答
  •  生来不讨喜
    2021-01-31 19:03

    In VS Code just right-click on the src folder and select the "Add folder to Java source path" option. If it didn't' worked, then try to remove it first by selecting "remove the folder from Java source path" and then adding it again.

    Hope it works for you.

提交回复
热议问题