java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation.MapperScan.factoryBean()

Springboot + mybatis plus 启动报错:
java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation.MapperScan.factoryBean()

 

 

 

pom.xml 添加 :mybatis-plus 依赖

    <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>3.4.0</version>
    </dependency>

 

posted @ 2020-10-04 22:27  小二丶一碗茶  阅读(3633)  评论(0)    收藏  举报