1 Create AppConfig file, paste notes into SpringBootApplication @Bean means creating a class object
2 . Create a Controller class Controller tags represent control paste layer @RequestMapping representation path @ResponseBody represents the body's response to
3 Create a xml file
4 . Service Layer Service @ @Transactional is managing affairs
5 . @ MapperScan which the current package and its sub packages under scanning package
6 . The first is the configuration file path The second domain lookup files in the directory Find all third dao file name suffix with Dao.xml The fourth Find all Mapper file name suffix with Mapper.xml
7 . Static resources must be placed under four directories
8 Unified exception handling
9 .Servlet related
10.Filter related
11.Listener related