MAC + Eclipse + Spring MVC Project

 This article shows how to create a spring MVC project.

Environment: macOS(Monterey) + eclipse 2022


1. create a dynamic web project


2. convert to a maven project


3. setup spring MVC dependency


4. setup web.xml and spring.xml

5. write a controller

6. run on tomcat


project structure shown below


留言

這個網誌中的熱門文章

在windows 10上安裝mmdetection