If you try to run or debug this Java file, you may get the error "Could not find or load main class". class file will be generated because Java language server only auto builds Java source files on the project classpath. This error indicates the Java file you opened isn't on the classpath of any project, and no. Only syntax errors will be reported Reason: If still cannot find out what errors, then reference the language server troubleshooting paragraph to update project configuration, and clean workspace cache.Run VS Code command "Java: Open Java language server log file", search keyword build/building workspace to find more details for the build errors.Open VS Code PROBLEMS View, and fix the errors there.One is compilation error for source code, the other is project error. The error indicates your workspace has build errors. Try more troubleshooting guide from the language server product site.īuild failed, do you want to continue? Reason:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |