The main errors are as follows:
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration':
Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@764c12b6]
The solution is to change the version of PageHelper to 1.2.3:1
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.3</version>
</dependency>
Note: the spring boot used is version 2.1.2