How to solve the error when integrating MybatisPlus in SpringBoot
In this article, the editor introduces in detail how to solve errors when integrating MybatisPlus in SpringBoot. The content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to solve errors when integrating MybatisPlus in SpringBoot" can help you solve your doubts.
problem
The following error is always reported when starting:
Java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class
Solution
Need a mybatis-spring-boot-starter package, after the pom file is added, it is solved perfectly.
Org.mybatis.spring.boot mybatis-spring-boot-starter 2.0.1 read here, this article "how to solve errors when integrating MybatisPlus in SpringBoot" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it before you can understand it. If you want to know more about related articles, please follow the industry information channel.