Prerequisites
- VScode
- Java 1.8
Configure a project
You can use start.spring.io to configure it. I configured it like the following:
Please note that I added "Web" and "Thymeleaf". To add these dependencies, search for dependency in the "Search for dependencies" and click the suggestion. After configuring everything, click on "Generate Project".
Please note that I added "Web" and "Thymeleaf". To add these dependencies, search for dependency in the "Search for dependencies" and click the suggestion. After configuring everything, click on "Generate Project".
VScode
Once you click on "Generate Project", you will get a zip file. Extract "demo" folder of the zip.
Drag and drop the extracted "demo" on VScode.
Press F5 then click on "Java". The project will be compiled.