springboot整合mybatis报错:Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation...

        <dependency>
            <groupId>org.mybatis.spring.bootgroupId>
            <artifactId>mybatis-spring-boot-starterartifactId>
            <version>2.1.0version>
        dependency>

        <dependency>
            <groupId>mysqlgroupId>
            <artifactId>mysql-connector-javaartifactId>
            <scope>runtimescope>
            <version>5.1.27version>
        dependency>
忘了添加mysql依赖 所以报错了

 

转载于:https://www.cnblogs.com/my-ordinary/p/11625613.html

你可能感兴趣的:(springboot整合mybatis报错:Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation...)