Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of error reporting in SpringBoot Integrated MybatisPlus

Shulou Source: shulou.com Published: 2022-06-03 16:27:28 11月14日 Update

This article mainly explains the "SpringBoot integration MybatisPlus error problem how to solve", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "SpringBoot integration MybatisPlus error reporting problem how to solve" it!

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

Thank you for your reading, the above is the content of "how to solve the problem of SpringBoot integrated MybatisPlus error reporting". After the study of this article, I believe you have a deeper understanding of how to solve the problem of SpringBoot integrated MybatisPlus error reporting, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Problems learning content that is ideas situations documents articles solutions time more knowledge knowledge points articles solutions follow errors practice push research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info Apple Xiaomi MySQL