MybatisPlus报错: org.apache.velocity.context.Context(已解决)
MybatisPlus报错: org.apache.velocity.context.Context(已解决)
报错如图所示:
原因是缺少了依赖,解决方案如下:
pom.xml文件当中加入velocity的依赖
<!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity-engine-core -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>2.3</version>
</dependency>
还没有评论,来说两句吧...