티스토리 뷰
xxx.java is a non-project file, only syntax errors are reported
폴더째 복사해서 스프링 부트 프로젝트를 실행하려고 했는데,
다음과 같은 오류가 Problem 탭에 표시되면서 실행되지 않았다.
Ctrl+Shift+P를 통해 Clean Java Language 를 실행하고 창을 새로 로딩하면 제대로 돌아간다.
오류가 사라진 화면
참조
How to avoid Visual Studio Code warning: "[myfile].java is a non-project file, only syntax errors are reported"
I am running a build task in a Java project in Visual Studio Code. The warning in the "PROBLEMS" tab: [myfile].java is a non-project file, only syntax errors are reported It refers to the
stackoverflow.com
'이슈,버그' 카테고리의 다른 글
websecurityconfigureradapter is deprecated 이슈 및 해당 버전의 authenticationManager 설정 (0) | 2023.01.18 |
---|---|
자바 에러 java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter (0) | 2023.01.17 |
스프링 JPA mysql에서 @CreatedDate 사용 안될 때 (0) | 2023.01.13 |
Mysql Public key retrieval is not allowed 에러 (0) | 2023.01.09 |
Unable to find GatewayFilterFactory with name 오류 (0) | 2023.01.09 |
댓글