1、 Problem cause – dependency conflict and error reporting
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.10</version>
<exclusions>
<exclusion>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
</exclusion>
<exclusion>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
</exclusion>
</exclusions>
</dependency>
Exclude mybatis dependencies.
2、 Plug in configuration
Application profile
#pagehelper
pagehelper.helperDialect=mysql
pagehelper.reasonable=false
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
Read More:
- Solution to the failure of springboot integrated PageHelper
- ‘dependencies.dependency.version‘ for org.springframework.cloud:spring-cloud-starter-openfeign:jar
- Springboot: start error reporting after introducing paging plug-in PageHelper
- Spring boot problem 1: error reporting life processing instructions for building a spring boot project
- Spring boot integrates es cluster error report collection
- Using openfeign to remotely call the startup program to report an error
- Vue uses SCSS dependency to report an error
- Gradle build spring boot failed to find plugins and reported an error
- Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.4.0:repackage failed
- How to Fix Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- Spring AOP uses AspectJ to report an exception that ‘the reference to the bean “mypointcut” cannot be resolved’
- Springboot modifies the reference of the application.yml or. Properties file to report an error after startup
- Does Vue project already have sass loader dependency or report an error using lang = “SCSS”
- Add a warehouse in allprojects repositories and report an error
- Spring boot integrates Mongo to solve some common connection and permission problems. Docker compose installs Mongo
- Spring boot running appears java.lang.IllegalStateException : Failed to load ApplicationContext
- Error processing condition on org.springframework.boot . autoconfigure.context.Property Error report solution
- spring boot Whitelabel Error Page
- 3. Idea creates a springboot project, and spring initializer reports an error Error:connect timed out
- The spring boot project was first created, pom.xml The error is Maven configuration problem. How to solve it?