您的位置:首页 > 编程语言 > Java开发

spring_boot整合mybatis项目启动时报错

2017-06-29 11:48 891 查看
报错信息如下:

[INFO ] 06-29 10:50:45 [main] com.hand.demo.DemoApplication - logback INFO ( TRACE < DEBUG < INFO < WARN < ERROR )

  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::        (v1.4.0.RELEASE)

[INFO ] 06-29 10:50:46 [main] com.hand.demo.DemoApplication - Starting DemoApplication on LAPTOP-4VJQD705 with PID 10832 (F:\ueba-demo\target\classes started by jinzhifeng in F:\ueba-demo)

[DEBUG] 06-29 10:50:46 [main] com.hand.demo.DemoApplication - Running with Spring Boot v1.4.0.RELEASE, Spring v4.3.2.RELEASE

[INFO ] 06-29 10:50:46 [main] com.hand.demo.DemoApplication - The following profiles are active: demo

[INFO ] 06-29 10:50:46 [background-preinit] o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.2.4.Final

[INFO ] 06-29 10:50:46 [main] o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@e350b40: startup date [Thu Jun 29 10:50:46 GMT+08:00 2017]; root of context
hierarchy

[INFO ] 06-29 10:50:48 [main] o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/F:/ueba-demo/conf/dev/shiro.xml]

[INFO ] 06-29 10:50:49 [main] o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'managementServletContext' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration; factoryMethodName=managementServletContext; initMethodName=null; destroyMethodName=(inferred); defined
in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration; factoryMethodName=managementServletContext; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.class]]

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'alarmDao' and 'com.hand.demo.dao.AlarmDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'applicationDao' and 'com.hand.demo.dao.ApplicationDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'authorityDao' and 'com.hand.demo.dao.AuthorityDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'baseOperDao' and 'com.hand.demo.dao.BaseOperDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'businessDao' and 'com.hand.demo.dao.BusinessDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'companyInfoDao' and 'com.hand.demo.dao.CompanyInfoDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'deAndEmpDao' and 'com.hand.demo.dao.DeAndEmpDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'deptDao' and 'com.hand.demo.dao.DeptDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'deptKpiDao' and 'com.hand.demo.dao.DeptKpiDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'empBusDao' and 'com.hand.demo.dao.EmpBusDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'empDao' and 'com.hand.demo.dao.EmpDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'empDetailDao' and 'com.hand.demo.dao.EmpDetailDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'freeStateDao' and 'com.hand.demo.dao.FreeStateDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'generalDao' and 'com.hand.demo.dao.GeneralDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'informDao' and 'com.hand.demo.dao.InformDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'infoTypeDao' and 'com.hand.demo.dao.InfoTypeDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'infoUrgencyDao' and 'com.hand.demo.dao.InfoUrgencyDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'interStatesDao' and 'com.hand.demo.dao.InterStatesDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'jobWebInfoDao' and 'com.hand.demo.dao.JobWebInfoDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'operateDetailDao' and 'com.hand.demo.dao.OperateDetailDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'operationConfigDao' and 'com.hand.demo.dao.OperationConfigDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'personageKpiDao' and 'com.hand.demo.dao.PersonageKpiDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'reportDao' and 'com.hand.demo.dao.ReportDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'roleDao' and 'com.hand.demo.dao.RoleDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'tagDao' and 'com.hand.demo.dao.TagDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'timeRecordDao' and 'com.hand.demo.dao.TimeRecordDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'workConditionDao' and 'com.hand.demo.dao.WorkConditionDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'ywConfigDao' and 'com.hand.demo.dao.YwConfigDao' mapperInterface. Bean already defined with the same name!

[WARN ] 06-29 10:50:49 [main] o.m.s.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.hand.demo.dao]' package. Please check your configuration.

[WARN ] 06-29 10:50:49 [main] o.s.c.a.ConfigurationClassPostProcessor - Cannot enhance @Configuration bean definition 'myBatisMapperScannerConfig' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a
BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.

[INFO ] 06-29 10:50:50 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'loginUserManager' of type [class com.hand.demo.shiro.utils.LoginUserManager] is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)

[INFO ] 06-29 10:50:50 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0' of type [class org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:50 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'DBConfig' of type [class com.hand.demo.config.DBConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:50 [main] com.zaxxer.hikari.HikariDataSource - demoDataSourceName - Started.

[INFO ] 06-29 10:50:51 [main] com.zaxxer.hikari.pool.PoolBase - demoDataSourceName - Driver does not support get/set network timeout for connections. (com.mysql.jdbc.JDBC4Connection.getNetworkTimeout()I)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dataSource' of type [class com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$e3897a4f]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceProperties]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'dataSourceInitializer' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'myBatisConfig' of type [class com.hand.demo.config.MyBatisConfig$$EnhancerBySpringCGLIB$$8d124a16] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'annotationDrivenTransactionManager' of type [class org.springframework.jdbc.datasource.DataSourceTransactionManager] is not eligible for getting processed
by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$195d6ef]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'redisRealm' of type [class com.hand.demo.shiro.shiro.RedisAuthenticatingRealm] is not eligible for getting processed by all BeanPostProcessors (for example:
not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'util:list#518bfd90' of type [class org.springframework.beans.factory.config.ListFactoryBean] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'util:list#518bfd90' of type [class java.util.ArrayList] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[WARN ] 06-29 10:50:51 [main] o.a.s.w.m.DefaultWebSecurityManager - The 'sessionMode' property has been deprecated.  Please configure an appropriate WebSessionManager instance instead of using this property.  This property/method will be removed in a later
version.

[INFO ] 06-29 10:50:51 [main] o.a.s.w.m.DefaultWebSecurityManager - native mode - enabling DefaultWebSessionManager (non-HTTP and HTTP Sessions)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'securityManager' of type [class org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for
example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.data.rest-org.springframework.boot.autoconfigure.data.rest.RepositoryRestProperties' of type [class org.springframework.boot.autoconfigure.data.rest.RepositoryRestProperties]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:51 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration' of type [class org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration$$EnhancerBySpringCGLIB$$3fa427e1]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties' of type [class org.springframework.boot.autoconfigure.jackson.JacksonProperties]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration' of type [class org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration$$EnhancerBySpringCGLIB$$ca8cfe88]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'standardJacksonObjectMapperBuilderCustomizer' of type [class org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration$StandardJackson2ObjectMapperBuilderCustomizer]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration' of type [class org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration$$EnhancerBySpringCGLIB$$f761899]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration' of type [class org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$$EnhancerBySpringCGLIB$$3f34f40f]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'jsonComponentModule' of type [class org.springframework.boot.jackson.JsonComponentModule] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.data.web.config.SpringDataJacksonConfiguration' of type [class org.springframework.data.web.config.SpringDataJacksonConfiguration$$EnhancerBySpringCGLIB$$3a3c4ac3]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'jacksonGeoModule' of type [class org.springframework.data.geo.GeoModule] is not eligible for getting processed by all BeanPostProcessors (for example: not
eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'jacksonObjectMapperBuilder' of type [class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder] is not eligible for getting processed by
all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'springBootRepositoryRestConfigurer' of type [class org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestConfigurer] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'defaultRelProvider' of type [class org.springframework.hateoas.core.EvoInflectorRelProvider] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'annotationRelProvider' of type [class org.springframework.hateoas.core.AnnotationRelProvider] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean '(inner bean)#76396509' of type [class org.springframework.plugin.core.support.PluginRegistryFactoryBean] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean '(inner bean)#76396509' of type [class org.springframework.plugin.core.OrderAwarePluginRegistry] is not eligible for getting processed by all BeanPostProcessors
(for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean '_relProvider' of type [class org.springframework.hateoas.core.DelegatingRelProvider] is not eligible for getting processed by all BeanPostProcessors (for
example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:52 [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestMvcConfiguration' of type [class org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestMvcConfiguration$$EnhancerBySpringCGLIB$$8791a00f]
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

[INFO ] 06-29 10:50:53 [main] o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 9091 (http)

[INFO ] 06-29 10:50:53 [main] o.a.catalina.core.StandardService - Starting service Tomcat

[INFO ] 06-29 10:50:53 [main] o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.4

[INFO ] 06-29 10:50:53 [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext

[INFO ] 06-29 10:50:53 [localhost-startStop-1] o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 6908 ms

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'metricFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'webRequestLoggingFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'crossDomainFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'shiroFilter' to: [/*]

[INFO ] 06-29 10:50:54 [localhost-startStop-1] o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'applicationContextIdFilter' to: [/*]

[INFO ] 06-29 10:50:54 [main] com.hand.demo.config.MyBatisConfig - Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause:
org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.

[WARN ] 06-29 10:50:54 [main] o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with
name 'alarmController': Unsatisfied dependency expressed through field 'alarmService': Error creating bean with name 'alarmServiceImpl': Unsatisfied dependency expressed through field 'alarmDao': Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]:
Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception
is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException:
Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded
getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]';
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.
 This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]:
Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception
is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException:
Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded
getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]';
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.
 This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmServiceImpl': Unsatisfied dependency expressed through
field 'alarmDao': Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory'
defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]:
Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception
is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks
the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]:
Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception
is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper
XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.;
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property
'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file
[F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type
for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory'
defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]:
Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception
is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks
the JavaBeans specification and can cause unpredicatble results.

[INFO ] 06-29 10:50:54 [main] com.zaxxer.hikari.pool.HikariPool - demoDataSourceName - Close initiated...

[INFO ] 06-29 10:50:54 [main] com.zaxxer.hikari.pool.HikariPool - demoDataSourceName - Closed.

[INFO ] 06-29 10:50:54 [main] o.a.catalina.core.StandardService - Stopping service Tomcat

[INFO ] 06-29 10:50:54 [main] o.s.b.a.l.AutoConfigurationReportLoggingInitializer - 

Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)

[ERROR] 06-29 10:50:54 [main] o.s.boot.SpringApplication - Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmController': Unsatisfied dependency expressed through field 'alarmService': Error creating bean with name 'alarmServiceImpl': Unsatisfied dependency expressed
through field 'alarmDao': Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory'
defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]:
Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception
is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks
the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]:
Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception
is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper
XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.;
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property
'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file
[F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type
for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory'
defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]:
Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception
is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks
the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmServiceImpl': Unsatisfied dependency expressed through field 'alarmDao':
Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in
class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory
method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is
org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks
the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]:
Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception
is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper
XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.;
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property
'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file
[F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type
for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory'
defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]:
Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception
is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks
the JavaBeans specification and can cause unpredicatble results.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
at com.hand.demo.DemoApplication.main(DemoApplication.java:41)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmServiceImpl': Unsatisfied dependency expressed through field 'alarmDao': Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]:
Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception
is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException:
Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded
getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]';
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.
 This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]:
Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception
is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException:
Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded
getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]';
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.
 This breaks the JavaBeans specification and can cause unpredicatble results.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
... 18 common frames omitted

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alarmDao' defined in file [F:\ueba-demo\target\classes\com\hand\demo\dao\AlarmDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory':
Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]';
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.
 This breaks the JavaBeans specification and can cause unpredicatble results.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]:
Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception
is java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper
XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1307)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1199)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
... 32 common frames omitted

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/hand/demo/config/MyBatisConfig.class]: Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException:
Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded
getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1292)
... 44 common frames omitted

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactoryBean' threw exception; nested exception is java.lang.RuntimeException: org.springframework.core.NestedIOException:
Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded
getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 57 common frames omitted

Caused by: java.lang.RuntimeException: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing
Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble
results.
at com.hand.demo.config.MyBatisConfig.sqlSessionFactoryBean(MyBatisConfig.java:68)
at com.hand.demo.config.MyBatisConfig$$EnhancerBySpringCGLIB$$8d124a16.CGLIB$sqlSessionFactoryBean$3(<generated>)
at com.hand.demo.config.MyBatisConfig$$EnhancerBySpringCGLIB$$8d124a16$$FastClassBySpringCGLIB$$a986f456.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
at com.hand.demo.config.MyBatisConfig$$EnhancerBySpringCGLIB$$8d124a16.sqlSessionFactoryBean(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 58 common frames omitted

Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\ueba-demo\target\classes\mapper\InformMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException:
Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:522)
at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:381)
at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:546)
at com.hand.demo.config.MyBatisConfig.sqlSessionFactoryBean(MyBatisConfig.java:65)
... 68 common frames omitted

Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.
 This breaks the JavaBeans specification and can cause unpredicatble results.
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92)
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:520)
... 71 common frames omitted

Caused by: org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous type for property deptName in class class com.hand.demo.entity.Inform.  This breaks the JavaBeans specification and can cause unpredicatble results.
at org.apache.ibatis.reflection.Reflector.resolveGetterConflicts(Reflector.java:130)
at org.apache.ibatis.reflection.Reflector.addGetMethods(Reflector.java:113)
at org.apache.ibatis.reflection.Reflector.<init>(Reflector.java:65)
at org.apache.ibatis.reflection.DefaultReflectorFactory.findForClass(DefaultReflectorFactory.java:44)
at org.apache.ibatis.reflection.MetaClass.<init>(MetaClass.java:39)
at org.apache.ibatis.reflection.MetaClass.forClass(MetaClass.java:43)
at org.apache.ibatis.builder.SqlSourceBuilder$ParameterMappingTokenHandler.buildParameterMapping(SqlSourceBuilder.java:82)
at org.apache.ibatis.builder.SqlSourceBuilder$ParameterMappingTokenHandler.handleToken(SqlSourceBuilder.java:67)
at org.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:69)
at org.apache.ibatis.builder.SqlSourceBuilder.parse(SqlSourceBuilder.java:45)
at org.apache.ibatis.scripting.defaults.RawSqlSource.<init>(RawSqlSource.java:46)
at org.apache.ibatis.scripting.defaults.RawSqlSource.<init>(RawSqlSource.java:40)
at org.apache.ibatis.scripting.xmltags.XMLScriptBuilder.parseScriptNode(XMLScriptBuilder.java:58)
at org.apache.ibatis.scripting.xmltags.XMLLanguageDriver.createSqlSource(XMLLanguageDriver.java:44)
at org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:94)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:135)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:128)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:118)
... 73 common frames omitted

错误原因,是因为实体类中有重复的getset方法。启动时不知道指向的那个所以报错。解决办法,删除实体类中多余的getset方法即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  springboot spring mybatis