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

后端 未结 6 715
别跟我提以往
别跟我提以往 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:22

    i know it's too late but you can simply solve this if you convert your project to eclipse with this simple command mvn eclipse:eclipse (assuming you are using maven) at your root directory this will add .classpath file. in this case your src/* files will be project files

    Tested on vscode and coc-java in vim too

提交回复
热议问题