Error information:
Description:
Failed to bind properties under 'mapper.mappers' to java.util.List<java.lang.Class<?>>:
Reason: No converter found capable of converting from type [java.lang.String] to type [java.util.List<java.lang.Class<?>>]
Action:
Update your application's configuration
2019-05-12 16:46:51.171 INFO 15112 --- [ main] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3eeb318f: startup date [Sun May 12 16:46:50 CST 2019]; root of context hierarchy
Disconnected from the target VM, address: '127.0.0.1:52213', transport: 'socket'
Process finished with exit code 1
Solution:
1. Check whether the. Properties file or. YML file has the property of mapper. Mappers configured! If so, see if the implementation class of this property configuration exists!
For configuration, please take a look at the configuration steps and precautions of spring boot integrated with mybatis general mapper in this article
Similar Posts:
- MyBatis Error: Error building SqlSession [How to Solve]
- After introducing mybatisplus, the user-defined method is used to solve the invalid bound statement (not found) error
- [Solved] Mybatis-config Error: Cannot load connection class because of underlying exception: com.mysql.cj.exceptions.WrongArgumentException: failed to parse the connection string near ‘;useUnicode=true&
- [Solved] Spring introduces the properties variable Error: org.springframework.beans.TypeMismatchException…
- [Solved] org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicat…
- How to Solve Run Error: java.rmi.server.ExportException: Port already in use: 1099;
- [Solved] Springboot Error: invalid bound statement (not found)
- Field adminMapper in com.course.service.impl.AdminServiceImpl required a bean of type ‘com.course.mapper.AdminMapper’ that could not be found
- [Solved] Mybatis: the binding mapper cannot be found Error: Org.apache.ibatis.binding.bindingexception: invalid bound statement (not found)
- [Solved] Mybatis Error: org.apache.ibatis.cache.CacheException: Error serializing object. Cause: java.io.NotSerializableExc