org.mybatis.spring.mapper.mapperscannerconfigurer
时间: 2023-04-22 16:07:02 浏览: 80
org.mybatis.spring.mapper.MapperScannerConfigurer是MyBatis-Spring框架中的一个类,用于扫描指定包下的Mapper接口,并将其注册到Spring容器中。它可以自动扫描指定包下的所有Mapper接口,并将其注册为Spring的Bean,从而可以在应用程序中直接使用。
相关问题
org.mybatis.spring.mapper.MapperScannerConfigurer
org.mybatis.spring.mapper.MapperScannerConfigurer是MyBatis-Spring框架中的一个类,用于扫描指定包下的Mapper接口,并将其注册到Spring容器中。它可以自动扫描指定包下的所有Mapper接口,并将其注册为Spring的Bean,从而可以在应用程序中直接使用。
Creating shared instance of singleton bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
这是一个 Spring 框架的日志信息,它表示正在创建一个名为 `org.mybatis.spring.mapper.MapperScannerConfigurer#0` 的单例 Bean 实例。这个 Bean 是用于扫描 MyBatis Mapper 接口的配置类,它会将 Mapper 接口注册到 Spring 容器中,以便在应用程序中使用。这个日志信息不是错误信息,只是 Spring 在启动时输出的一条提示信息,表明它正在执行需要的操作。如果你没有遇到其他的异常信息,应用程序应该可以正常运行。