mybatis-plus代码生成的时候报异常
Caused by: java.lang.ClassNotFoundException: org.apache.velocity.context.Context
原因:缺少org.apache.velocity的依赖
解决办法:在pom文件添加依赖即可
<dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> <version>2.0</version> </dependency>