в чем ошибка culator
2024-10-15 19:43:41 Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -Xmx2604450K -XX:MaxMetaspaceSize=170113K -XX:ReservedCodeCacheSize=240M -Xss1M (Total Memory: 3286564K, Thread Count: 250, Loaded Class Count: 27620, Headroom: 0%)
2024-10-15 19:43:41 Enabling Java Native Memory Tracking
2024-10-15 19:43:41 Adding 146 container CA certificates to JVM truststore
2024-10-15 19:43:41 Spring Cloud Bindings Enabled
2024-10-15 19:43:48 
2024-10-15 19:43:48   .   ____          _            __ _ _
2024-10-15 19:43:48  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
2024-10-15 19:43:48 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
2024-10-15 19:43:48  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
2024-10-15 19:43:48   '  |____| .__|_| |_|_| |_\__, | / / / /
2024-10-15 19:43:48  =========|_|==============|___/=/_/_/_/
2024-10-15 19:43:48  :: Spring Boot ::                (v3.2.5)
2024-10-15 19:43:48 
2024-10-15 19:43:41 Picked up JAVA_TOOL_OPTIONS: -Djava.security.properties=/layers/paketo-buildpacks_bellsoft-liberica/java-security-properties/java-security.properties -XX:+ExitOnOutOfMemoryError -XX:MaxDirectMemorySize=10M -Xmx2604450K -XX:MaxMetaspaceSize=170113K -XX:ReservedCodeCacheSize=240M -Xss1M -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+PrintNMTStatistics -Dorg.springframework.cloud.bindings.boot.enable=true
2024-10-15 19:43:49 2024-10-15T16:43:49.353Z  INFO 1 --- [Telegram] [           main] magazin.telegram.TelegramApplication     : Starting TelegramApplication v0.0.1-SNAPSHOT using Java 21.0.4 with PID 1 (/workspace/BOOT-INF/classes started by cnb in /workspace)
2024-10-15 19:43:49 2024-10-15T16:43:49.407Z  INFO 1 --- [Telegram] [           main] magazin.telegram.TelegramApplication     : No active profile set, falling back to 1 default profile: "default"
2024-10-15 19:43:54 2024-10-15T16:43:54.624Z  INFO 1 --- [Telegram] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2024-10-15 19:43:54 2024-10-15T16:43:54.626Z  INFO 1 --- [Telegram] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2024-10-15 19:43:55 2024-10-15T16:43:55.314Z  INFO 1 --- [Telegram] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 623 ms. Found 5 JPA repository interfaces.
2024-10-15 19:43:57 2024-10-15T16:43:57.582Z  INFO 1 --- [Telegram] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2024-10-15 19:43:57 2024-10-15T16:43:57.588Z  INFO 1 --- [Telegram] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2024-10-15 19:43:57 2024-10-15T16:43:57.683Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.RedisRepository.RedisChatSupportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.689Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.RedisRepository.RedisQuickReplyRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.691Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.RedisRepository.RedisUserRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.696Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.Repository.ChatSupportRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.704Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.Repository.KnowledgebaseRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.705Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.Repository.QuickReplyRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.706Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.Repository.RetingRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.706Z  INFO 1 --- [Telegram] [           main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface magazin.telegram.Model.Repository.UserRepository; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository
2024-10-15 19:43:57 2024-10-15T16:43:57.788Z  INFO 1 --- [Telegram] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 153 ms. Found 4 Redis repository interfaces.
2024-10-15 19:44:00 2024-10-15T16:44:00.480Z  INFO 1 --- [Telegram] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-10-15 19:44:00 2024-10-15T16:44:00.545Z  INFO 1 --- [Telegram] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-10-15 19:44:00 2024-10-15T16:44:00.546Z  INFO 1 --- [Telegram] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.20]
2024-10-15 19:44:00 2024-10-15T16:44:00.794Z  INFO 1 --- [Telegram] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-10-15 19:44:00 2024-10-15T16:44:00.799Z  INFO 1 --- [Telegram] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 10845 ms
2024-10-15 19:44:02 2024-10-15T16:44:02.308Z  INFO 1 --- [Telegram] [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: oneEntityManagerFactory]
2024-10-15 19:44:02 2024-10-15T16:44:02.612Z  INFO 1 --- [Telegram] [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.4.4.Final
2024-10-15 19:44:02 2024-10-15T16:44:02.633Z  WARN 1 --- [Telegram] [           main] org.hibernate.orm.deprecation            : HHH90000021: Encountered deprecated setting [javax.persistence.validation.mode], use [jakarta.persistence.validation.mode] instead
2024-10-15 19:44:02 2024-10-15T16:44:02.778Z  INFO 1 --- [Telegram] [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2024-10-15 19:44:03 2024-10-15T16:44:03.117Z  INFO 1 --- [Telegram] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-10-15 19:44:04 2024-10-15T16:44:04.027Z  INFO 1 --- [Telegram] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@6df37f7a
2024-10-15 19:44:04 2024-10-15T16:44:04.032Z  INFO 1 --- [Telegram] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-10-15 19:44:04 2024-10-15T16:44:04.128Z  WARN 1 --- [Telegram] [           main] org.hibernate.orm.deprecation            : HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2024-10-15 19:44:05 2024-10-15T16:44:05.179Z  INFO 1 --- [Telegram] [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2024-10-15 19:44:08 2024-10-15T16:44:08.099Z  INFO 1 --- [Telegram] [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2024-10-15 19:44:08 2024-10-15T16:44:08.253Z  WARN 1 --- [Telegram] [           main] o.h.t.s.i.ExceptionHandlerLoggedImpl     : GenerationTarget encountered exception accepting command : Error executing DDL "create table Knowledgebase (id bigserial not null, description varchar(255), embedding vector($l), question varchar(255), primary key (id))" via JDBC [ERROR: syntax error at or near "$"
2024-10-15 19:44:08   Position: 95]
2024-10-15 19:44:08 
2024-10-15 19:44:08 org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table Knowledgebase (id bigserial not null, description varchar(255), embedding vector($l), question varchar(255), primary key (id))" via JDBC [ERROR: syntax error at or near "$"
2024-10-15 19:44:08   Position: 95]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:94) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:574) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:514) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.createTable(AbstractSchemaMigrator.java:315) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:80) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:232) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:117) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:286) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:145) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at java.base/java.util.HashMap.forEach(Unknown Source) ~[na:na]
2024-10-15 19:44:08     at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:142) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:315) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:450) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1507) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) ~[spring-orm-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390) ~[spring-orm-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) ~[spring-orm-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) ~[spring-orm-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) ~[spring-orm-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1234) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:952) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:08     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:08     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:08     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:08     at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:08     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:08     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:08     at magazin.telegram.TelegramApplication.main(TelegramApplication.java:19) ~[classes/:0.0.1-SNAPSHOT]
2024-10-15 19:44:08     at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
2024-10-15 19:44:08     at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
2024-10-15 19:44:08     at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[workspace/:na]
2024-10-15 19:44:08     at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[workspace/:na]
2024-10-15 19:44:08     at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:58) ~[workspace/:na]
2024-10-15 19:44:08 Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "$"
2024-10-15 19:44:08   Position: 95
2024-10-15 19:44:08     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2401) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:368) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:498) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:415) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:335) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:321) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:297) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:292) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:08     at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:08     at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:08     at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:80) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
2024-10-15 19:44:08     ... 43 common frames omitted
2024-10-15 19:44:08 
2024-10-15 19:44:08 2024-10-15T16:44:08.339Z  INFO 1 --- [Telegram] [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'oneEntityManagerFactory'
2024-10-15 19:44:09 2024-10-15T16:44:09.939Z  INFO 1 --- [Telegram] [           main] o.s.d.j.r.query.QueryEnhancerFactory     : Hibernate is in classpath; If applicable, HQL parser will be used.
2024-10-15 19:44:11 2024-10-15T16:44:11.163Z  INFO 1 --- [Telegram] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Starting...
2024-10-15 19:44:12 2024-10-15T16:44:12.171Z ERROR 1 --- [Telegram] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-2 - Exception during pool initialization.
2024-10-15 19:44:12 
2024-10-15 19:44:12 org.postgresql.util.PSQLException: Connection to localhost:5433 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2024-10-15 19:44:12     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.Driver.makeConnection(Driver.java:443) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.Driver.connect(Driver.java:297) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:444) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.ai.postgresml.PostgresMlEmbeddingModel.afterPropertiesSet(PostgresMlEmbeddingModel.java:232) ~[spring-ai-postgresml-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1355) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:784) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:767) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:508) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1419) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at magazin.telegram.TelegramApplication.main(TelegramApplication.java:19) ~[classes/:0.0.1-SNAPSHOT]
2024-10-15 19:44:12     at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[workspace/:na]
2024-10-15 19:44:12     at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[workspace/:na]
2024-10-15 19:44:12     at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:58) ~[workspace/:na]
2024-10-15 19:44:12 Caused by: java.net.ConnectException: Connection refused
2024-10-15 19:44:12     at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na]
2024-10-15 19:44:12     at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/java.net.SocksSocketImpl.connect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/java.net.Socket.connect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at org.postgresql.core.PGStream.createSocket(PGStream.java:243) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.PGStream.<init>(PGStream.java:98) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     ... 68 common frames omitted
2024-10-15 19:44:12 
2024-10-15 19:44:12 2024-10-15T16:44:12.176Z  WARN 1 --- [Telegram] [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'telegramBot2': Unsatisfied dependency expressed through field 'knowledgebaseService': Error creating bean with name 'knowledgebaseService' defined in file [/workspace/BOOT-INF/classes/magazin/telegram/Bot/Service/TelegramSupport/Service/ServicePgVector/KnowledgebaseService.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'postgresMlEmbeddingModel' defined in class path resource [org/springframework/ai/autoconfigure/postgresml/PostgresMlAutoConfiguration.class]: Failed to obtain JDBC Connection
2024-10-15 19:44:12 2024-10-15T16:44:12.178Z  INFO 1 --- [Telegram] [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'oneEntityManagerFactory'
2024-10-15 19:44:12 2024-10-15T16:44:12.181Z  INFO 1 --- [Telegram] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-10-15 19:44:12 2024-10-15T16:44:12.249Z  INFO 1 --- [Telegram] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-10-15 19:44:12 2024-10-15T16:44:12.255Z  INFO 1 --- [Telegram] [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2024-10-15 19:44:12 2024-10-15T16:44:12.397Z  INFO 1 --- [Telegram] [           main] .s.b.a.l.ConditionEvaluationReportLogger : 
2024-10-15 19:44:12 
2024-10-15 19:44:12 Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2024-10-15 19:44:12 2024-10-15T16:44:12.498Z ERROR 1 --- [Telegram] [           main] o.s.boot.SpringApplication               : Application run failed
2024-10-15 19:44:12 
2024-10-15 19:44:12 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'telegramBot2': Unsatisfied dependency expressed through field 'knowledgebaseService': Error creating bean with name 'knowledgebaseService' defined in file [/workspace/BOOT-INF/classes/magazin/telegram/Bot/Service/TelegramSupport/Service/ServicePgVector/KnowledgebaseService.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'postgresMlEmbeddingModel' defined in class path resource [org/springframework/ai/autoconfigure/postgresml/PostgresMlAutoConfiguration.class]: Failed to obtain JDBC Connection
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:787) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:767) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:508) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1419) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) ~[spring-boot-3.2.5.jar:3.2.5]
2024-10-15 19:44:12     at magazin.telegram.TelegramApplication.main(TelegramApplication.java:19) ~[classes/:0.0.1-SNAPSHOT]
2024-10-15 19:44:12     at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[workspace/:na]
2024-10-15 19:44:12     at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[workspace/:na]
2024-10-15 19:44:12     at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:58) ~[workspace/:na]
2024-10-15 19:44:12 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'knowledgebaseService' defined in file [/workspace/BOOT-INF/classes/magazin/telegram/Bot/Service/TelegramSupport/Service/ServicePgVector/KnowledgebaseService.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'postgresMlEmbeddingModel' defined in class path resource [org/springframework/ai/autoconfigure/postgresml/PostgresMlAutoConfiguration.class]: Failed to obtain JDBC Connection
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1355) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:784) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     ... 25 common frames omitted
2024-10-15 19:44:12 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'postgresMlEmbeddingModel' defined in class path resource [org/springframework/ai/autoconfigure/postgresml/PostgresMlAutoConfiguration.class]: Failed to obtain JDBC Connection
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     ... 38 common frames omitted
2024-10-15 19:44:12 Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:84) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:444) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.ai.postgresml.PostgresMlEmbeddingModel.afterPropertiesSet(PostgresMlEmbeddingModel.java:232) ~[spring-ai-postgresml-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1833) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782) ~[spring-beans-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     ... 49 common frames omitted
2024-10-15 19:44:12 Caused by: org.postgresql.util.PSQLException: Connection to localhost:5433 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2024-10-15 19:44:12     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.Driver.makeConnection(Driver.java:443) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.Driver.connect(Driver.java:297) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-5.0.1.jar:na]
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81) ~[spring-jdbc-6.1.6.jar:6.1.6]
2024-10-15 19:44:12     ... 54 common frames omitted
2024-10-15 19:44:12 Caused by: java.net.ConnectException: Connection refused
2024-10-15 19:44:12     at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na]
2024-10-15 19:44:12     at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/java.net.SocksSocketImpl.connect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at java.base/java.net.Socket.connect(Unknown Source) ~[na:na]
2024-10-15 19:44:12     at org.postgresql.core.PGStream.createSocket(PGStream.java:243) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.PGStream.<init>(PGStream.java:98) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) ~[postgresql-42.6.2.jar:42.6.2]
2024-10-15 19:44:12     ... 68 common frames omitted
2024-10-15 19:44:12 
2024-10-15 19:44:12 
2024-10-15 19:44:12 Native Memory Tracking:
2024-10-15 19:44:12 
2024-10-15 19:44:12 Total: reserved=3329220742, committed=279556230
2024-10-15 19:44:12        malloc: 69427334 #312447
2024-10-15 19:44:12        mmap:   reserved=3259793408, committed=210128896
2024-10-15 19:44:12 
2024-10-15 19:44:12 -                 Java Heap (reserved=2667577344, committed=67108864)
2024-10-15 19:44:12                             (mmap: reserved=2667577344, committed=67108864, at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                     Class (reserved=152270508, committed=11499180)
2024-10-15 19:44:12                             (classes #16035)
2024-10-15 19:44:12                             (  instance classes #14897, array classes #1138)
2024-10-15 19:44:12                             (malloc=1275564 #39833) (peak=1283484 #39825) 
2024-10-15 19:44:12                             (mmap: reserved=150994944, committed=10223616, at peak) 
2024-10-15 19:44:12                             (  Metadata:   )
2024-10-15 19:44:12                             (    reserved=67108864, committed=64684032)
2024-10-15 19:44:12                             (    used=64258944)
2024-10-15 19:44:12                             (    waste=425088 =0.66%)
2024-10-15 19:44:12                             (  Class space:)
2024-10-15 19:44:12                             (    reserved=150994944, committed=10223616)
2024-10-15 19:44:12                             (    used=9905872)
2024-10-15 19:44:12                             (    waste=317744 =3.11%)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                    Thread (reserved=17887912, committed=1016488)
2024-10-15 19:44:12                             (threads #18)
2024-10-15 19:44:12                             (stack: reserved=17825792, committed=954368, peak=954368)
2024-10-15 19:44:12                             (malloc=38888 #130) (peak=63424 #177) 
2024-10-15 19:44:12                             (arena=23232 #40) (peak=1045216 #53)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                      Code (reserved=255392476, committed=21510876)
2024-10-15 19:44:12                             (malloc=1759964 #8391) (at peak) 
2024-10-15 19:44:12                             (mmap: reserved=253632512, committed=19750912, at peak) 
2024-10-15 19:44:12                             (arena=0 #0) (peak=34696 #2)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                        GC (reserved=94976088, committed=44185688)
2024-10-15 19:44:12                             (malloc=9144408 #5755) (peak=9170280 #5852) 
2024-10-15 19:44:12                             (mmap: reserved=85831680, committed=35041280, at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                 GCCardSet (reserved=13800, committed=13800)
2024-10-15 19:44:12                             (malloc=13800 #106) (peak=37408 #146) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                  Compiler (reserved=2001272, committed=2001272)
2024-10-15 19:44:12                             (malloc=28616 #704) (peak=69964 #641) 
2024-10-15 19:44:12                             (arena=1972656 #9) (peak=65003000 #22)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                  Internal (reserved=818967, committed=818967)
2024-10-15 19:44:12                             (malloc=782103 #23511) (peak=788875 #23409) 
2024-10-15 19:44:12                             (mmap: reserved=36864, committed=36864, at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                     Other (reserved=0, committed=0)
2024-10-15 19:44:12                             (malloc=0) (peak=43008 #3) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                    Symbol (reserved=29276144, committed=29276144)
2024-10-15 19:44:12                             (malloc=26452904 #213185) (at peak) 
2024-10-15 19:44:12                             (arena=2823240 #1) (at peak)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -    Native Memory Tracking (reserved=5077040, committed=5077040)
2024-10-15 19:44:12                             (malloc=77888 #1372) (peak=78568 #1379) 
2024-10-15 19:44:12                             (tracking overhead=4999152)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -        Shared class space (reserved=16777216, committed=12320768, readonly=0)
2024-10-15 19:44:12                             (mmap: reserved=16777216, committed=12320768, peak=12558336) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -               Arena Chunk (reserved=17983712, committed=17983712)
2024-10-15 19:44:12                             (malloc=17983712 #755) (peak=67694880 #1548) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                   Tracing (reserved=337, committed=337)
2024-10-15 19:44:12                             (malloc=337 #9) (peak=385 #10) 
2024-10-15 19:44:12                             (arena=0 #0) (peak=32728 #1)
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                Statistics (reserved=128, committed=128)
2024-10-15 19:44:12                             (malloc=128 #2) (at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                 Arguments (reserved=169, committed=169)
2024-10-15 19:44:12                             (malloc=169 #5) (at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                    Module (reserved=128832, committed=128832)
2024-10-15 19:44:12                             (malloc=128832 #2984) (at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                 Safepoint (reserved=8192, committed=8192)
2024-10-15 19:44:12                             (mmap: reserved=8192, committed=8192, at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -           Synchronization (reserved=1615296, committed=1615296)
2024-10-15 19:44:12                             (malloc=1615296 #15521) (peak=1615400 #15522) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -            Serviceability (reserved=17253, committed=17253)
2024-10-15 19:44:12                             (malloc=17253 #12) (peak=17397 #14) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                 Metaspace (reserved=67394048, committed=64969216)
2024-10-15 19:44:12                             (malloc=285184 #148) (at peak) 
2024-10-15 19:44:12                             (mmap: reserved=67108864, committed=64684032, at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -      String Deduplication (reserved=680, committed=680)
2024-10-15 19:44:12                             (malloc=680 #8) (at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -           Object Monitors (reserved=3328, committed=3328)
2024-10-15 19:44:12                             (malloc=3328 #16) (at peak) 
2024-10-15 19:44:12  
2024-10-15 19:44:12 -                   Unknown (reserved=0, committed=0)
2024-10-15 19:44:12                             (mmap: reserved=0, committed=0, peak=20480) 
2024-10-15 19:44:12