WEB-INF folder is not creating in Spring Boot application?
Usually the web files will go into the resources folder with spring boot. https://spring.io/guides/gs/serving-web-content/
Dumping the jsp files in src/main/webapp
folder worked for me, both with or without WEB-INF. I followed the exact project structure mentioned in
- mkyong.com
- springboottutorial
We need to crate WEB-INF folder manually in spring boot application. Follow below steps to create WEB-INF folder
Select main folder as highlighted below.
- Right click and create a folder with name webapp.
- Now right click on webapp folder and create WEB-INF folder.
- Now similarly create a view folder (or any other name you like) inside WEB-INF folder to keep all the JSPs.
Below should be the folder structure after doing above steps.