2017-12-24 17:42:09,615:WARN main (AbstractApplicationContext.java:551) - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'userMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2017-12-24 17:42:09,616:WARN main (DisposableBeanAdapter.java:374) - Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2017-12-24 17:42:09,618:INFO main (DirectJDKLog.java:179) - Stopping service [Tomcat]
2017-12-24 17:42:09,637:INFO main (AutoConfigurationReportLoggingInitializer.java:101) - Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2017-12-24 17:42:09,711:ERROR main (LoggingFailureAnalysisReporter.java:42) - ***************************
APPLICATION FAILED TO START
***************************Description:Field userMapper in com.yichao.yichaoadmin.service.user.impl.UserServiceImpl required a bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper' that could not be found.
Action:Consider defining a bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper' in your configuration.Disconnected from the target VM, address: '127.0.0.1:61973', transport: 'socket'Process finished with exit code 1