Caused by: java.lang.IllegalArgumentException: Could not find class [org.mybatis.spring.boot.autoconfigure.MybatisProperties]
时间: 2023-11-26 19:05:53 浏览: 111
This error message suggests that there is an issue with the MybatisProperties class in the Mybatis Spring Boot auto-configuration. The class may be missing or not properly configured in the application. To resolve this issue, try the following steps:
1. Check that the Mybatis Spring Boot starter is included in the project dependencies.
2. Verify that the MybatisProperties class is present in the package specified in the error message.
3. Make sure that the package containing the MybatisProperties class is included in the application's classpath.
4. Check that the Mybatis Spring Boot auto-configuration is properly configured in the application.
5. Try cleaning and rebuilding the project to ensure that all dependencies are properly resolved.
阅读全文