第一个是tomcat启动报错:org.springframework.boot.web.embedded.tomcat.TomcatStarter","method_name":"onStartup","code_line":61,"message":"Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'getUserFilter' defined in class path resource [com/weimob/test/performance/config/FilterConfig.class]: Unsatisfied dependency expressed through method 'getUserFilter' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationService': Unsatisfied dependency expressed through field 'userDao'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userDao': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.weimob.test.performance.mapper.base.BaseMapper<com.weimob.test.performance.entity.Users>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}"}
第二个是:
org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter","method_name":"report","code_line":40,"message":"\r\n\r\n***************************\r\nAPPLICATION FAILED TO START\r\n***************************\r\n\r\nDescription:\r\n\r\nField baseMapper in com.weimob.test.performance.dao.base.BaseDao required a bean of type 'com.weimob.test.performance.mapper.base.BaseMapper' that could not be found.\r\n\r\n\r\nAction:\r\n\r\nConsider defining a bean of type 'com.weimob.test.performance.mapper.base.BaseMapper' in your configuration.\r\n"}