FluentMybatis
参考博客 使用FluentMybatis实现mybatis动态sql拼装和fluent api语法
异常处理
- 测试编译报错
java: The class java.lang.IllegalArgumentException may be caused by the wrapped ProcessingEnvironment object.
Please pass the wrapped ProcessingEnvironment further to super.init().
If you need to access the original ProcessingEnvironment object (e.g. for creating com.sun.source.util.Trees.instance(ProcessingEnvironment)), you may use following code in the processor implementation:
ProcessingEnvironment unwrappedprocessingEnv = jbUnwrap(ProcessingEnvironment.class, processingEnv);
idea解决方案 seting->compiler-> ~VM option:添加参数
-Djps.track.ap.dependencies=false