Question page
Error message in log
no mybatis mapper was found in ‘[com. Ego]’ package. Please check your
configuration. Will not attempt to authenticate using SASL (unknown error)
Console output
Solution 1
Solution 1. I read many blogs, most of which are this solution. But it didn’t solve my problem
Solution 2
1. Because the versions of spring web and spring webmvc in POM are inconsistent, unify the dependent versions
2. If there are no database related things configured, comment out the POM dependencies of mybatis and MySQL first
I cited the problem caused by mapper’s Maven dependency in the consumermodel. Just delete it.
Read More:
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could [Solved]
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource
- idea Error: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource
- [Solved] SpringBoot Microservices: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded dat
- Failed to auto-configure a DataSource: ‘spring.datasource.url‘ is not specified and no embedded data
- [Fixed] Disgusting bug Error:Failed to Load project configuration: cannot parse filemessage: content is not allowed in the preface.
- [Solved] init datasource error, url: jdbc:mysql://localhost:3306/test
- [Solved] init datasource error, url: xxxjava.sql.SQLRecoverableException: IO ERROR: Undefined Error
- [Solved] BindingException: Type interface XXX is not known to the MapperRegistry
- Error assembling War: webxml attribute is required
- [Solved] Spring Boot Error: org.springframework.jdbc.datasource.embedded.EmbeddedData
- C# Bug Fixed InvalidCastException: Cannot cast from source type to destination type.
- [Solved] Springboot Error: Error creating bean with name ‘dataSource‘ defined in class path resource
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url: dubbo://192.168.0.9:20880/service
- [Solved] Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- [Solved] Circular view path [index]: would dispatch back to the current handler URL [] again. Che
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url dubbo192.168.0.920880service
- org.hibernate.exception.SQLGrammarException: could not extract ResultSet, Resolve MySQL 5.7.5 or above GROUP_BY is not supported
- Using java to call Jython, the error URI is not hierarchical