# springmvc-thymeleaf **Repository Path**: li810289622/springmvc-thymeleaf ## Basic Information - **Project Name**: springmvc-thymeleaf - **Description**: springmvc集成thymeleaf,使用web.xml配置方式 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-11-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. 使用web.xml的方式来配置springmvc + thymeleaf环境。 (使用独立的tomcat) 2. 本例子的关键是 a. 看看springmvc集成thymeleaf时,需要什么依赖,在pom.xml中找找看。 b. 看spring-servlet.xml中关于springmvc集合thymeleaf的配置。 3. 注意,本次测试中,发现idea的一个坑:在修改了pom.xml中的依赖后,需要重新定义一次artifacts,不然会出现某个类找不到的情况。 所以,如果修改了pom.xml中的依赖后,先试着使用一下,如果没有报错则无须做额外的操作,如果抛出ClassNotFoundException,则可以尝试重新 指定artifacts。