简体   繁体   中英

FileNotFound exception after fetch, even though file exists in VSCode

I'm currently using GitHub desktop to fetch changes, and then opening the project in VSCode.

For whatever reason, any new files that come with the fetch throw FileNotFound exceptions after compiling (even though I can see the files in the project folders). If I go into a file, make an edit and save it the issue goes away and the compiler sees the files again.

Is there a way to "Refresh" the project files after a fetch. I am assuming a file pointer isn't resolving in some backend code somewhere.

Any advice is appreciated

Open Command Palette and choose Java: Clean Java Language Server Workspace then reload window .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM