Home > Back-end >  How to add new .java source file in Spring MVC project
How to add new .java source file in Spring MVC project

Time:08-06

I have copied a new .java file in relevant src folder. But, it doesn't appear in project explorer in STS4. No option in IDE to import file.

I know this is such a simple thing. Should have obvious options there. However I am not getting clue.

CodePudding user response:

Press F5 or execute the menu item Refresh on the project once you have added a file to the project from outside the IDE, like on the file system directly.

  • Related