SpringBoot integrated MybatisPlus error
Start time is always reported the following error:
java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class
solution
You need a mybatis-spring-boot-starter package, after the pom file plus, the perfect solution.
<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.0.1</version></dependency>