com.etotem.cfc.integration.controller.AdminFamilyOverviewControllerTest.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. -------------------------------------------------------------------------------
  2. Test set: com.etotem.cfc.integration.controller.AdminFamilyOverviewControllerTest
  3. -------------------------------------------------------------------------------
  4. Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 20.24 s <<< FAILURE! - in com.etotem.cfc.integration.controller.AdminFamilyOverviewControllerTest
  5. tasks_分页 Time elapsed: 0 s <<< ERROR!
  6. java.lang.IllegalStateException: Failed to load ApplicationContext
  7. Caused by: org.springframework.beans.factory.BeanCreationException:
  8. Error creating bean with name 'auditLogAspect': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  9. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  10. Caused by: org.springframework.beans.factory.BeanCreationException:
  11. Error creating bean with name 'auditLogService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  12. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  13. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
  14. Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  15. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  16. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
  17. Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  18. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  19. Caused by: org.springframework.beans.factory.BeanCreationException:
  20. Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  21. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  22. Caused by: org.springframework.beans.BeanInstantiationException:
  23. Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  24. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  25. Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException:
  26. Failed to initialize pool: Communications link failure
  27. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  28. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException:
  29. Communications link failure
  30. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  31. Caused by: com.mysql.cj.exceptions.CJCommunicationsException:
  32. Communications link failure
  33. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  34. Caused by: java.net.ConnectException: Connection refused: connect
  35. overview_成功 Time elapsed: 0 s <<< ERROR!
  36. java.lang.IllegalStateException: Failed to load ApplicationContext
  37. Caused by: org.springframework.beans.factory.BeanCreationException:
  38. Error creating bean with name 'auditLogAspect': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  39. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  40. Caused by: org.springframework.beans.factory.BeanCreationException:
  41. Error creating bean with name 'auditLogService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  42. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  43. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
  44. Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  45. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  46. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
  47. Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  48. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  49. Caused by: org.springframework.beans.factory.BeanCreationException:
  50. Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  51. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  52. Caused by: org.springframework.beans.BeanInstantiationException:
  53. Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  54. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  55. Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException:
  56. Failed to initialize pool: Communications link failure
  57. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  58. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException:
  59. Communications link failure
  60. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  61. Caused by: com.mysql.cj.exceptions.CJCommunicationsException:
  62. Communications link failure
  63. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  64. Caused by: java.net.ConnectException: Connection refused: connect
  65. overview_非admin拒绝 Time elapsed: 0.001 s <<< ERROR!
  66. java.lang.IllegalStateException: Failed to load ApplicationContext
  67. Caused by: org.springframework.beans.factory.BeanCreationException:
  68. Error creating bean with name 'auditLogAspect': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  69. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  70. Caused by: org.springframework.beans.factory.BeanCreationException:
  71. Error creating bean with name 'auditLogService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  72. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  73. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
  74. Error creating bean with name 'auditLogMapper' defined in file [D:\cfc\cfc-backend\target\classes\com\etotem\cfc\mapper\AuditLogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  75. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  76. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
  77. Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  78. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  79. Caused by: org.springframework.beans.factory.BeanCreationException:
  80. Error creating bean with name 'primaryDataSource' defined in class path resource [com/etotem/cfc/config/SfmsDataSourceConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  81. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  82. Caused by: org.springframework.beans.BeanInstantiationException:
  83. Failed to instantiate [javax.sql.DataSource]: Factory method 'primaryDataSource' threw exception; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure
  84. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  85. Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException:
  86. Failed to initialize pool: Communications link failure
  87. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  88. Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException:
  89. Communications link failure
  90. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  91. Caused by: com.mysql.cj.exceptions.CJCommunicationsException:
  92. Communications link failure
  93. The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  94. Caused by: java.net.ConnectException: Connection refused: connect