MyBatis-plus自动生成时,报错Caused by: java.lang.ClassNotFoundException: org.apache.velocity.context.Context
说明缺少依赖
在pom.xml添加:
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>2.0</version>
</dependency>