Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: freemarker/template/Configuration
1、可能是缺少了依赖 ,往pom 文件里 添加
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.32</version>
<scope>compile</scope>
</dependency>
2、 添加了依赖 但是还是报错了捏
检查一下 IDEA 的 设置里 Maven 是不是变成了 IDEA 自带的那个maven