- SpringBoot服务部署失败,是为什么?前面都成功,最后报连接失败
-----------构建dc2h-music-006----------- 2024-03-28 17:21:18 create_build_image : succ, 2024-03-28 17:22:57 check_build_image : succ, , -----------服务dc2h-music部署dc2h-music-006----------- 2024-03-28 17:22:58 create_eks_virtual_service : succ, 2024-03-28 17:22:58 check_eks_virtual_service : process, DescribeVersion_user_error_Liveness probe failed: dial tcp 10.15.13.98:80: connect: connection refused, [service]:[Readiness probe failed: dial tcp 10.15.13.98:80: connect: connection refused,Liveness probe failed: dial tcp 10.15.13.98:80: connect: connection refused,] 03/28 17:51:49dc2h-music-006java.sql.SQLSyntaxErrorException: Unknown database '${DATABASE_NAME}'03/28 17:51:49dc2h-music-0062024-03-28 09:51:48.421 WARN 1 --- [ main] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at com.dc2h.dc2hmusic.Dc2hMusicApplication.main(Dc2hMusicApplication.java:10) ~[classes!/:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908) ~[spring-context-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154) ~[spring-context-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1494) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1460) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.(InFlightMetadataCollectorImpl.java:175) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-0062024-03-28 09:51:48.425 WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]03/28 17:51:49dc2h-music-0062024-03-28 09:51:48.424 ERROR 1 --- [ main] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[dc2h-music-0.0.1.jar:0.0.1]03/28 17:51:49dc2h-music-006 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_275]03/28 17:51:49dc2h-music-006 at com.dc2h.dc2hmusic.Dc2hMusicApplication.main(Dc2hMusicApplication.java:10) ~[classes!/:0.0.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.1.jar!/:2.6.1]03/28 17:51:49dc2h-music-006 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908) ~[spring-context-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154) ~[spring-context-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) [spring-beans-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) [spring-orm-5.3.13.jar!/:5.3.13]03/28 17:51:49dc2h-music-006 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1494) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1460) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.(InFlightMetadataCollectorImpl.java:175) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:178) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:101) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68) [hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:181) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 17:51:49dc2h-music-006 at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-4.0.3.jar!/:na]
03-28 - SpringBoot服务部署失败,是为什么?下面是日志
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set03/28 01:29:32dc2h-music-002 ... 24 common frames omitted03/28 01:29:32dc2h-music-002 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:341) ~[spring-orm-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) ~[spring-orm-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) ~[spring-orm-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:365) ~[spring-orm-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:58) ~[spring-orm-5.3.13.jar!/:5.3.13]03/28 01:29:32dc2h-music-002 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1494) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1460) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:127) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.(InFlightMetadataCollectorImpl.java:175) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:243) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.service.internal.AbstractServiceRegistryImpl.injectDependencies(AbstractServiceRegistryImpl.java:286) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.injectServices(DefaultIdentifierGeneratorFactory.java:178) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002 at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:275) ~[hibernate-core-5.6.1.Final.jar!/:5.6.1.Final]03/28 01:29:32dc2h-music-002Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]03/28 01:29:32dc2h-music-002 at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [dc2h-music-0.0.1.jar:0.0.1]03/28 01:29:32dc2h-music-002 at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [dc2h-music-0.0.1.jar:0.0.1]03/28 01:29:32dc2h-music-002 at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [dc2h-music-0.0.1.jar:0.0.1]03/28 01:29:32dc2h-music-002 at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [dc2h-music-0.0.1.jar:0.0.1]03/28 01:29:32dc2h-music-002 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_275]03/28 01:29:32dc2h-music-002 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_275]03/28 01:29:32dc2h-music-002 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_275]03/28 01:29:32dc2h-music-002 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_275]03/28 01:29:32dc2h-music-002 at com.dc2h.dc2hmusic.Dc2hMusicApplication.main(Dc2hMusicApplication.java:10) [classes!/:0.0.1]03/28 01:29:36dc2h-music-0022024-03-27 17:29:35.705 INFO 1 --- [ main] com.dc2h.dc2hmusic.Dc2hMusicApplication : No active profile set, falling back to default profiles: default03/28 01:29:36dc2h-music-0022024-03-27 17:29:35.700 INFO 1 --- [ main] com.dc2h.dc2hmusic.Dc2hMusicApplication : Starting Dc2hMusicApplication v0.0.1 using Java 1.8.0_275 on dc2h-music-002-864f6464d5-k74hb with PID 1 (/app/dc2h-music-0.0.1.jar started by root in /app)03/28 01:29:36dc2h-music-002 :: Spring Boot :: (v2.6.1)03/28 01:29:36dc2h-music-002 =========|_|==============|___/=/_/_/_/03/28 01:29:36dc2h-music-002 ' |____| .__|_| |_|_| |_\__, | / / / /03/28 01:29:36dc2h-music-002 \\/ ___)| |_)| | | | | || (_| | ) ) ) )03/28 01:29:36dc2h-music-002( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \03/28 01:29:36dc2h-music-002 /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \03/28 01:29:36dc2h-music-002 . ____ _ __ _ _03/28 01:29:39dc2h-music-0022024-03-27 17:29:38.194 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5 ms. Found 0 JPA repository interfaces.03/28 01:29:39dc2h-music-0022024-03-27 17:29:38.125 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.03/28 01:29:41dc2h-music-0022024-03-27 17:29:40.191 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http)03/28 01:29:42dc2h-music-0022024-03-27 17:29:41.796 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
03-28 - 微信云托管SpringBoot,服务部署失败是为什么?
2024-03-26 10:51:00 create_eks_virtual_service : succ, 2024-03-26 10:51:00 check_eks_virtual_service : process, DescribeVersion_user_error_Liveness probe failed: dial tcp 10.15.13.111:80: connect: connection refused 日志: 03/26 11:20:49dc2h-music-013Caused by: java.net.SocketTimeoutException: connect timed out03/26 11:20:49dc2h-music-013 ... 56 common frames omitted03/26 11:20:49dc2h-music-013 at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:819) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:949) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.NativeSession.connect(NativeSession.java:120) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.28.jar!/:8.0.28]03/26 11:20:49dc2h-music-013 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.03/26 11:20:49dc2h-music-013Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure03/26 11:20:49dc2h-music-013 at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[dc2h-music-0.0.1.jar:0.0.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[dc2h-music-0.0.1.jar:0.0.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[dc2h-music-0.0.1.jar:0.0.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[dc2h-music-0.0.1.jar:0.0.1]03/26 11:20:49dc2h-music-013 at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_275]03/26 11:20:49dc2h-music-013 at com.dc2h.dc2hmusic.Dc2hMusicApplication.main(Dc2hMusicApplication.java:10) ~[classes!/:0.0.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290) ~[spring-boot-2.6.1.jar!/:2.6.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) ~[spring-boot-2.6.1.jar!/:2.6.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) ~[spring-boot-2.6.1.jar!/:2.6.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412) ~[spring-boot-2.6.1.jar!/:2.6.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730) ~[spring-boot-2.6.1.jar!/:2.6.1]03/26 11:20:49dc2h-music-013 at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.1.jar!/:2.6.1]03/26 11:20:49dc2h-music-013 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.13.jar!/:5.3.13]03/26 11:20:49dc2h-music-013 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908) ~[spring-context-5.3.13.jar!/:5.3.13]03/26 11:20:49dc2h-music-013 at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154) ~[spring-context-5.3.13.jar!/:5.3.13]03/26 11:20:49dc2h-music-013 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.13.jar!/:5.3.13]03/26 11:20:49dc2h-music-013 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.13.jar!/:5.3.13]03/26 11:20:49dc2h-music-013 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.13.jar!/:5.3.13]03/26 11:20:50dc2h-music-0132024-03-26 03:20:49.383 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...03/26 11:20:50dc2h-music-0132024-03-26 03:20:49.066 INFO 1 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
03-26