![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot+mybatis
FZlion
一个不爱学习的java程序猿,希望和大家一起共通进步。
展开
-
[mybatis] expression: in.showLayers==true [org.apache.ibatis.ognl.ParseException: Encountered “ “in“
异常 nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'in.showLayerstrue’. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: in.showLayerstrue [org.apache.ibatis.ognl.ParseException原创 2020-12-17 16:15:45 · 243 阅读 · 0 评论 -
MybatisPlus java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
错误 使用MybatisPlus自动生成代码时报下面的错误 分析 MybatisPlus默认导出模板引擎velocity,上面的错误提示找不到velocity,需要在pom.xml文件中导入依赖或者下载 jar文件放入工程 <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core<原创 2020-11-06 10:51:04 · 489 阅读 · 3 评论 -
SpringBoot控制台打印SQL语句
方法一 此方法无需改动直接复制即可使用 #打印SQL mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl 方法二 注意!注意!注意! 此方法需要将代码中的com.lion.mapper换成你自己的mapper路径 #打印SQL logging.level.com.lion.mapper= debug 欢迎大家一起交流学习。 ...原创 2020-10-27 11:54:56 · 165 阅读 · 0 评论