|
|
|
@ -0,0 +1,332 @@
|
|
|
|
|
2024-10-23 17:20:53.969 ERROR 30428 --- [main] o.s.boot.SpringApplication : Application run failed
|
|
|
|
|
|
|
|
|
|
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'schuedingConfig': Unsatisfied dependency expressed through field 'fileProcessor'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fileProcessor': Unsatisfied dependency expressed through field 'transitDoorRecordService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transitDoorRecordServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
|
|
|
|
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
|
|
|
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
|
|
|
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
|
|
|
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
|
|
|
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
|
|
|
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
|
|
|
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
|
|
|
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
|
|
|
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
|
|
|
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
|
|
|
|
|
at com.watu.SySaveRecordApplication.main(SySaveRecordApplication.java:18)
|
|
|
|
|
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fileProcessor': Unsatisfied dependency expressed through field 'transitDoorRecordService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transitDoorRecordServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
|
|
|
|
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
|
|
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
|
|
|
|
... 21 common frames omitted
|
|
|
|
|
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transitDoorRecordServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
|
|
|
|
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
|
|
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
|
|
|
|
... 35 common frames omitted
|
|
|
|
|
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1717)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1273)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
|
|
|
|
... 49 common frames omitted
|
|
|
|
|
|
|
|
|
|
2024-10-23 17:23:33.134 ERROR 30092 --- [main] o.s.boot.SpringApplication : Application run failed
|
|
|
|
|
|
|
|
|
|
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fileProcessor': Unsatisfied dependency expressed through field 'transitDoorRecordService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transitDoorRecordServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
|
|
|
|
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
|
|
|
|
|
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
|
|
|
|
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
|
|
|
|
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
|
|
|
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
|
|
|
|
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
|
|
|
|
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
|
|
|
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
|
|
|
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
|
|
|
|
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
|
|
|
|
|
at com.watu.SySaveRecordApplication.main(SySaveRecordApplication.java:18)
|
|
|
|
|
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transitDoorRecordServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
|
|
|
|
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1425)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
|
|
|
|
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
|
|
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1307)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
|
|
|
|
... 21 common frames omitted
|
|
|
|
|
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.watu.mapper.TransitDoorRecordMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1717)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1273)
|
|
|
|
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1227)
|
|
|
|
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
|
|
|
|
... 35 common frames omitted
|
|
|
|
|
|
|
|
|
|
2024-10-23 17:47:01.332 ERROR 18108 --- [scheduling-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
|
|
|
|
|
|
|
|
|
|
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
|
|
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
|
|
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
|
|
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
|
|
|
|
|
at com.mysql.jdbc.Util.getInstance(Util.java:408)
|
|
|
|
|
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1714)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1224)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2199)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2230)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2025)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:778)
|
|
|
|
|
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
|
|
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
|
|
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
|
|
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
|
|
|
|
|
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
|
|
|
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
|
|
|
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
|
|
|
|
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80)
|
|
|
|
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67)
|
|
|
|
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:93)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:68)
|
|
|
|
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
|
|
|
|
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:165)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:92)
|
|
|
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
|
|
|
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
|
|
|
|
|
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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
|
|
|
|
|
at com.sun.proxy.$Proxy57.selectList(Unknown Source)
|
|
|
|
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:173)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:78)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
|
|
|
|
|
at com.sun.proxy.$Proxy61.selectList(Unknown Source)
|
|
|
|
|
at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:279)
|
|
|
|
|
at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:288)
|
|
|
|
|
at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
|
|
|
|
|
at com.watu.service.impl.TbDeviceInfoServiceImpl$$EnhancerBySpringCGLIB$$28f3fb04.list(<generated>)
|
|
|
|
|
at com.watu.config.SchuedingConfig.updateDeviceInfo(SchuedingConfig.java:53)
|
|
|
|
|
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.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
|
|
|
|
|
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
|
|
|
|
|
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
|
|
|
|
|
at java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:308)
|
|
|
|
|
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
|
|
|
|
|
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
|
|
|
|
|
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
|
|
|
|
|
at java.lang.Thread.run(Thread.java:745)
|
|
|
|
|
|
|
|
|
|
2024-10-23 17:47:01.335 ERROR 18108 --- [scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task
|
|
|
|
|
|
|
|
|
|
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
|
|
|
|
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
### The error may exist in com/watu/mapper/TbDeviceInfoMapper.java (best guess)
|
|
|
|
|
### The error may involve com.watu.mapper.TbDeviceInfoMapper.selectList
|
|
|
|
|
### The error occurred while executing a query
|
|
|
|
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
|
|
|
|
|
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
|
|
|
|
|
at com.sun.proxy.$Proxy57.selectList(Unknown Source)
|
|
|
|
|
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:173)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:78)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
|
|
|
|
|
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
|
|
|
|
|
at com.sun.proxy.$Proxy61.selectList(Unknown Source)
|
|
|
|
|
at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:279)
|
|
|
|
|
at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:288)
|
|
|
|
|
at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke(<generated>)
|
|
|
|
|
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
|
|
|
|
|
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
|
|
|
|
|
at com.watu.service.impl.TbDeviceInfoServiceImpl$$EnhancerBySpringCGLIB$$28f3fb04.list(<generated>)
|
|
|
|
|
at com.watu.config.SchuedingConfig.updateDeviceInfo(SchuedingConfig.java:53)
|
|
|
|
|
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.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
|
|
|
|
|
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
|
|
|
|
|
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
|
|
|
|
|
at java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:308)
|
|
|
|
|
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
|
|
|
|
|
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
|
|
|
|
|
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
|
|
|
|
|
at java.lang.Thread.run(Thread.java:745)
|
|
|
|
|
Caused by: org.apache.ibatis.exceptions.PersistenceException:
|
|
|
|
|
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
### The error may exist in com/watu/mapper/TbDeviceInfoMapper.java (best guess)
|
|
|
|
|
### The error may involve com.watu.mapper.TbDeviceInfoMapper.selectList
|
|
|
|
|
### The error occurred while executing a query
|
|
|
|
|
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
|
|
|
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
|
|
|
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
|
|
|
|
|
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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
|
|
|
|
|
... 28 common frames omitted
|
|
|
|
|
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
|
|
|
|
|
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80)
|
|
|
|
|
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67)
|
|
|
|
|
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:93)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:68)
|
|
|
|
|
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
|
|
|
|
|
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:165)
|
|
|
|
|
at com.baomidou.mybatisplus.core.executor.MybatisCachingExecutor.query(MybatisCachingExecutor.java:92)
|
|
|
|
|
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
|
|
|
|
|
... 34 common frames omitted
|
|
|
|
|
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'watu4'
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
|
|
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
|
|
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
|
|
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
|
|
|
|
|
at com.mysql.jdbc.Util.getInstance(Util.java:408)
|
|
|
|
|
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1714)
|
|
|
|
|
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1224)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2199)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2230)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2025)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:778)
|
|
|
|
|
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
|
|
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
|
|
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
|
|
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
|
|
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
|
|
|
|
|
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
|
|
|
|
|
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
|
|
|
|
|
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358)
|
|
|
|
|
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:477)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:560)
|
|
|
|
|
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
|
|
|
|
|
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116)
|
|
|
|
|
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
|
|
|
|
|
... 44 common frames omitted
|
|
|
|
|
|
|
|
|
|
2024-10-23 17:51:57.726 ERROR 10100 --- [pool-2-thread-1] com.watu.service.FileProcessor : 处理4.0版本文件失败: DoorEvent_WT_32092351011518050001_1729648085_94829_0000005.bcp
|
|
|
|
|
|
|
|
|
|
java.lang.ArrayIndexOutOfBoundsException: 19
|
|
|
|
|
at com.watu.service.FileProcessor.savedoorrecord(FileProcessor.java:102)
|
|
|
|
|
at com.watu.service.FileProcessor.lambda$processV4Files$0(FileProcessor.java:55)
|
|
|
|
|
at java.util.ArrayList.forEach(ArrayList.java:1249)
|
|
|
|
|
at com.watu.service.FileProcessor.processV4Files(FileProcessor.java:47)
|
|
|
|
|
at com.watu.config.SchuedingConfig.lambda$checkFaceOrBcp$1(SchuedingConfig.java:88)
|
|
|
|
|
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
|
|
|
|
|
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
|
|
|
|
|
at java.util.concurrent.FutureTask.run(FutureTask.java)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
|
|
|
|
|
at java.lang.Thread.run(Thread.java:745)
|
|
|
|
|
|
|
|
|
|
2024-10-23 17:52:07.715 ERROR 10100 --- [pool-2-thread-2] com.watu.service.FileProcessor : 处理4.0版本文件失败: DoorEvent_WT_32092351011518050001_1729648085_94829_0000005.bcp
|
|
|
|
|
|
|
|
|
|
java.lang.ArrayIndexOutOfBoundsException: 19
|
|
|
|
|
at com.watu.service.FileProcessor.savedoorrecord(FileProcessor.java:102)
|
|
|
|
|
at com.watu.service.FileProcessor.lambda$processV4Files$0(FileProcessor.java:55)
|
|
|
|
|
at java.util.ArrayList.forEach(ArrayList.java:1249)
|
|
|
|
|
at com.watu.service.FileProcessor.processV4Files(FileProcessor.java:47)
|
|
|
|
|
at com.watu.config.SchuedingConfig.lambda$checkFaceOrBcp$1(SchuedingConfig.java:88)
|
|
|
|
|
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
|
|
|
|
|
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
|
|
|
|
|
at java.util.concurrent.FutureTask.run(FutureTask.java)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
|
|
|
|
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
|
|
|
|
|
at java.lang.Thread.run(Thread.java:745)
|
|
|
|
|
|
|
|
|
|
2024-10-23 17:55:56.791 ERROR 29652 --- [pool-2-thread-1] com.watu.service.FileProcessor : 删除文件失败,文件名称:DoorEvent_WT_32092351011518050001_1729648085_94829_0000005.bcp
|
|
|
|
|
2024-10-23 17:56:06.655 ERROR 29652 --- [pool-2-thread-2] com.watu.service.FileProcessor : 删除文件失败,文件名称:DoorEvent_WT_32092351011518050001_1729648085_94829_0000005.bcp
|