Caused by: java.lang.ClassNotFoundException: org.apache.velocity.context.Context
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>
本文来自博客园,作者:King-DA,转载请注明原文链接:https://www.cnblogs.com/qingmuchuanqi48/p/13973004.html