ssh root@eksperpanel.com root@eksperpanel.com's password: Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.8.0-31-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Sun Nov 17 20:11:57 UTC 2024 System load: 0.6 Processes: 179 Usage of /: 16.3% of 153.94GB Users logged in: 1 Memory usage: 54% IPv4 address for eth0: 64.226.123.11 Swap usage: 0% IPv4 address for eth0: 10.19.0.5 Expanded Security Maintenance for Applications is not enabled. 157 updates can be applied immediately. To see these additional updates run: apt list --upgradable Enable ESM Apps to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status *** System restart required *** Pending kernel upgrade! Running kernel version: 6.8.0-31-generic Diagnostics: The currently running kernel version is not the expected kernel version 6.8.0-48-generic. cd /root/ekspertiz-tech-be/ tail -300f app.log at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: java.sql.SQLException: Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:767) at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:652) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:80) ... 136 common frames omitted 20:10:12.949 [main] WARN o.h.t.s.i.ExceptionHandlerLoggedImpl - GenerationTarget encountered exception accepting command : Error executing DDL "insert into note_seq values ( 1 )" via JDBC [Table 'experinfo_prod.note_seq' doesn't exist] org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "insert into note_seq values ( 1 )" via JDBC [Table 'experinfo_prod.note_seq' doesn't exist] at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:94) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:583) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:523) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.createTable(AbstractSchemaMigrator.java:323) at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:80) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:240) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:119) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:280) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:144) at java.base/java.util.HashMap.forEach(HashMap.java:1429) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:141) at org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:322) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:457) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1506) at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:682) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1705) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1454) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:97) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.(ServletContextInitializerBeans.java:86) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:266) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:240) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:772) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:203) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:415) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:870) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:437) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:128) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:516) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:222) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:619) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: java.sql.SQLSyntaxErrorException: Table 'experinfo_prod.note_seq' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:767) at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:652) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:80) ... 136 common frames omitted 20:10:13.553 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' 20:10:14.515 [main] DEBUG c.c.otoexpert.config.JwtTokenUtil - Generating secret key from secret: mahmuttbb 20:10:14.517 [main] ERROR o.s.b.w.e.tomcat.TomcatStarter - Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'apiJWTAuthorizationFilter' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.31.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/ApiJWTAuthorizationFilter.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jwtTokenUtil' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.31.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/JwtTokenUtil.class]: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception 20:10:14.553 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat] 20:10:14.556 [main] WARN o.a.c.loader.WebappClassLoaderBase - The web application [ROOT] appears to have started a thread named [HikariPool-1 housekeeper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1758) java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) java.base/java.lang.Thread.run(Thread.java:1570) 20:10:14.556 [main] WARN o.a.c.loader.WebappClassLoaderBase - The web application [ROOT] appears to have started a thread named [HikariPool-1 connection adder] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1758) java.base/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:460) java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1069) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) java.base/java.lang.Thread.run(Thread.java:1570) 20:10:14.559 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server 20:10:14.560 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 20:10:14.562 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... 20:10:14.567 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. 20:10:14.584 [main] INFO o.s.b.a.l.ConditionEvaluationReportLogger - Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 20:10:14.613 [main] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.context.ApplicationContextException: Unable to start web server at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:165) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:619) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:147) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:516) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:222) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) ... 13 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiJWTAuthorizationFilter' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.31.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/ApiJWTAuthorizationFilter.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jwtTokenUtil' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.31.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/JwtTokenUtil.class]: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:174) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:169) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAdaptableBeans(ServletContextInitializerBeans.java:154) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.(ServletContextInitializerBeans.java:87) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:266) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:240) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:772) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:203) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:415) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:870) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:437) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:128) ... 18 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtTokenUtil' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.31.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/JwtTokenUtil.class]: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:318) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:306) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 59 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:221) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315) ... 73 common frames omitted Caused by: java.lang.IllegalArgumentException: string length not even: 9 at java.base/java.util.HexFormat.parseNoDelimiter(HexFormat.java:850) at java.base/java.util.HexFormat.parseHex(HexFormat.java:539) at java.base/java.util.HexFormat.parseHex(HexFormat.java:507) at com.codefirst.otoexpert.config.JwtTokenUtil.generateSecureKey(JwtTokenUtil.java:54) at com.codefirst.otoexpert.config.JwtTokenUtil.(JwtTokenUtil.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:208) ... 75 common frames omitted tail: app.log: file truncated . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.3.4) 20:12:15.496 [main] INFO c.c.otoexpert.OtoExpertApplication - Starting OtoExpertApplication v1.32.0 using Java 22.0.2 with PID 417472 (/root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar started by root in /root/ekspertiz-tech-be) 20:12:15.499 [main] DEBUG c.c.otoexpert.OtoExpertApplication - Running with Spring Boot v3.3.4, Spring v6.1.13 20:12:15.500 [main] INFO c.c.otoexpert.OtoExpertApplication - The following 1 profile is active: "prod" 20:12:17.786 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode 20:12:17.789 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Elasticsearch repositories in DEFAULT mode. 20:12:17.855 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MonthlyCompanyBillRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.856 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CarModelRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.859 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MessageRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.860 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CarBrandRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.861 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.FilterAttributesRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.862 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.DistrictRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.863 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CityRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.865 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.AuthorityRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.866 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.NameDescriptionRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.868 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ExpensesRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.870 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ExpertizFileRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.873 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.UserRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.874 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.SmsRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.876 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.UserTransactionLogRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.877 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.UploadFileRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.878 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.SupplierRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.880 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CustomerRequestRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.880 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BaseRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.881 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BillingConstantRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.882 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CompanyRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.883 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.WageScaleRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.884 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.PaymentRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.886 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CustomerRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.887 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.NoteRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.888 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.RoleRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.890 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MediaRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.891 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BankRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.892 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BankAccountRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.893 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.TokenBlacklistRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.895 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.InsuranceCompanyRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.896 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ExpertizFileUpdateLogRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.897 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.OtpServiceMessageLogRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.898 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ValidationTokenRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.899 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MobileVersionRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.900 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.FirmServiceRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 20:12:17.931 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 137 ms. Found 2 Elasticsearch repository interfaces. 20:12:17.947 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode 20:12:17.948 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode. 20:12:17.968 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.elasticsearchv2.repository.ExpertizFileDocumentRepository; If you want this repository to be a JPA repository, consider annotating your entities with one of these annotations: jakarta.persistence.Entity, jakarta.persistence.MappedSuperclass (preferred), or consider extending one of the following types with your repository: org.springframework.data.jpa.repository.JpaRepository 20:12:17.970 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository; If you want this repository to be a JPA repository, consider annotating your entities with one of these annotations: jakarta.persistence.Entity, jakarta.persistence.MappedSuperclass (preferred), or consider extending one of the following types with your repository: org.springframework.data.jpa.repository.JpaRepository 20:12:18.081 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 129 ms. Found 35 JPA repository interfaces. 20:12:19.246 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 8093 (http) 20:12:19.271 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 20:12:19.272 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.30] 20:12:19.313 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext 20:12:19.314 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3742 ms 20:12:19.707 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... 20:12:20.137 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@749c0669 20:12:20.140 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. 20:12:20.199 [main] INFO org.flywaydb.core.FlywayExecutor - Database: jdbc:mysql://db-mysql-eksper-do-user-9266973-0.c.db.ondigitalocean.com:25060/experinfo_prod (MySQL 8.0) 20:12:20.298 [main] INFO o.f.core.internal.command.DbValidate - Successfully validated 24 migrations (execution time 00:00.062s) 20:12:20.334 [main] INFO o.f.core.internal.command.DbMigrate - Current version of schema `experinfo_prod`: 23 20:12:20.340 [main] INFO o.f.core.internal.command.DbMigrate - Schema `experinfo_prod` is up to date. No migration necessary. 20:12:20.491 [main] INFO o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default] 20:12:20.563 [main] INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 6.5.3.Final 20:12:20.601 [main] INFO o.h.c.i.RegionFactoryInitiator - HHH000026: Second-level cache disabled 20:12:20.896 [main] INFO o.s.o.j.p.SpringPersistenceUnitInfo - No LoadTimeWeaver setup: ignoring JPA class transformer 20:12:20.965 [main] WARN org.hibernate.orm.deprecation - HHH90000025: MySQL8Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 20:12:20.967 [main] WARN org.hibernate.orm.deprecation - HHH90000026: MySQL8Dialect has been deprecated; use org.hibernate.dialect.MySQLDialect instead 20:12:22.959 [main] INFO o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 20:12:23.061 [main] WARN o.h.t.s.i.ExceptionHandlerLoggedImpl - GenerationTarget encountered exception accepting command : Error executing DDL "create table note_seq (next_val bigint) engine=InnoDB" via JDBC [Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting.] org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table note_seq (next_val bigint) engine=InnoDB" via JDBC [Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting.] at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:94) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:583) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:523) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.createTable(AbstractSchemaMigrator.java:323) at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:80) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:240) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:119) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:280) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:144) at java.base/java.util.HashMap.forEach(HashMap.java:1429) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:141) at org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:322) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:457) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1506) at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:682) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1705) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1454) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:97) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.(ServletContextInitializerBeans.java:86) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:266) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:240) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:772) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:203) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:415) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:870) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:437) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:128) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:516) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:222) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:619) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: java.sql.SQLException: Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:767) at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:652) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:80) ... 136 common frames omitted 20:12:23.069 [main] WARN o.h.t.s.i.ExceptionHandlerLoggedImpl - GenerationTarget encountered exception accepting command : Error executing DDL "insert into note_seq values ( 1 )" via JDBC [Table 'experinfo_prod.note_seq' doesn't exist] org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "insert into note_seq values ( 1 )" via JDBC [Table 'experinfo_prod.note_seq' doesn't exist] at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:94) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlString(AbstractSchemaMigrator.java:583) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.applySqlStrings(AbstractSchemaMigrator.java:523) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.createTable(AbstractSchemaMigrator.java:323) at org.hibernate.tool.schema.internal.GroupedSchemaMigratorImpl.performTablesMigration(GroupedSchemaMigratorImpl.java:80) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performMigration(AbstractSchemaMigrator.java:240) at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:119) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:280) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.lambda$process$5(SchemaManagementToolCoordinator.java:144) at java.base/java.util.HashMap.forEach(HashMap.java:1429) at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:141) at org.hibernate.boot.internal.SessionFactoryObserverForSchemaExport.sessionFactoryCreated(SessionFactoryObserverForSchemaExport.java:37) at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:35) at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:322) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:457) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1506) at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:75) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:409) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:396) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:682) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1705) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1454) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:202) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addServletContextInitializerBeans(ServletContextInitializerBeans.java:97) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.(ServletContextInitializerBeans.java:86) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:266) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:240) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:772) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:203) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:415) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:870) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:437) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:128) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:516) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:222) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:619) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: java.sql.SQLSyntaxErrorException: Table 'experinfo_prod.note_seq' doesn't exist at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:767) at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:652) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:80) ... 136 common frames omitted 20:12:23.660 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' 20:12:24.487 [main] DEBUG c.c.otoexpert.config.JwtTokenUtil - Generating secret key from secret: mahmuttbb 20:12:24.489 [main] ERROR o.s.b.w.e.tomcat.TomcatStarter - Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'apiJWTAuthorizationFilter' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/ApiJWTAuthorizationFilter.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jwtTokenUtil' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/JwtTokenUtil.class]: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception 20:12:24.521 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat] 20:12:24.524 [main] WARN o.a.c.loader.WebappClassLoaderBase - The web application [ROOT] appears to have started a thread named [HikariPool-1 housekeeper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1758) java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) java.base/java.lang.Thread.run(Thread.java:1570) 20:12:24.524 [main] WARN o.a.c.loader.WebappClassLoaderBase - The web application [ROOT] appears to have started a thread named [HikariPool-1 connection adder] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1758) java.base/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:460) java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1069) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) java.base/java.lang.Thread.run(Thread.java:1570) 20:12:24.527 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server 20:12:24.528 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 20:12:24.529 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... 20:12:24.535 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. 20:12:24.552 [main] INFO o.s.b.a.l.ConditionEvaluationReportLogger - Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 20:12:24.576 [main] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.context.ApplicationContextException: Unable to start web server at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:165) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:619) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:147) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.(TomcatWebServer.java:107) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:516) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:222) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:188) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:162) ... 13 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiJWTAuthorizationFilter' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/ApiJWTAuthorizationFilter.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jwtTokenUtil' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/JwtTokenUtil.class]: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:211) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:174) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:169) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.addAdaptableBeans(ServletContextInitializerBeans.java:154) at org.springframework.boot.web.servlet.ServletContextInitializerBeans.(ServletContextInitializerBeans.java:87) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getServletContextInitializerBeans(ServletWebServerApplicationContext.java:266) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.selfInitialize(ServletWebServerApplicationContext.java:240) at org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:52) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4412) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:772) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1203) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1193) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:749) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:203) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:415) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:870) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:437) at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:128) ... 18 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jwtTokenUtil' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/config/JwtTokenUtil.class]: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:318) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:306) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 59 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.codefirst.otoexpert.config.JwtTokenUtil]: Constructor threw exception at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:221) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315) ... 73 common frames omitted Caused by: java.lang.IllegalArgumentException: string length not even: 9 at java.base/java.util.HexFormat.parseNoDelimiter(HexFormat.java:850) at java.base/java.util.HexFormat.parseHex(HexFormat.java:539) at java.base/java.util.HexFormat.parseHex(HexFormat.java:507) at com.codefirst.otoexpert.config.JwtTokenUtil.generateSecureKey(JwtTokenUtil.java:54) at com.codefirst.otoexpert.config.JwtTokenUtil.(JwtTokenUtil.java:49) at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:208) ... 75 common frames omitted ^C sudo ./deploy.sh --env prod 2024-11-17 20:13:42 - Production environment detected. MySQL container will not be started. 2024-11-17 20:13:42 - Starting deployment process... 2024-11-17 20:13:42 - Loading configuration from /root/ekspertiz-tech-be/deploy-config.env 2024-11-17 20:13:42 - Configuration validation completed successfully 2024-11-17 20:13:42 - Navigated to project directory: . 2024-11-17 20:13:42 - Pulling the latest changes from the repository... M test-env.pid Already on 'development' Your branch is up to date with 'origin/development'. From gitlab.com:mehmet32/ekspertiz-tech-be * branch development -> FETCH_HEAD Already up to date. 2024-11-17 20:13:45 - Reading artifactId and version from pom.xml... 2024-11-17 20:13:45 - Artifact ID: eksperpanel, Version: 1.32.0, JAR: /root/ekspertiz-tech-be/target/eksperpanel-1.32.0.jar 2024-11-17 20:13:45 - Taking backup of the old build... 2024-11-17 20:13:45 - Backup of old build completed: ./backup/eksperpanel-1.32.0.jar 2024-11-17 20:13:45 - Reading current version from pom.xml... 2024-11-17 20:13:45 - Current version: 1.32.0 2024-11-17 20:13:45 - Prod environment detected. Incrementing minor version to: 1.33.0 2024-11-17 20:13:45 - Version updated in pom.xml to 1.33.0 2024-11-17 20:13:45 - Updated APP_JAR to: /root/ekspertiz-tech-be/target/eksperpanel-1.33.0.jar 2024-11-17 20:13:45 - Committing and pushing changes to the repository... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.33.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.33.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- git-code-format-maven-plugin:5.3:on-pre-commit (default-cli) @ eksperpanel --- [INFO] Executing pre-commit hooks [INFO] Executed pre-commit hooks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.965 s [INFO] Finished at: 2024-11-17T20:13:47Z [INFO] ------------------------------------------------------------------------ [development 748306ff] Update version to 1.33.0 1 file changed, 1 insertion(+), 1 deletion(-) Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 303 bytes | 303.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 To gitlab.com:mehmet32/ekspertiz-tech-be.git ea68bd06..748306ff development -> development 2024-11-17 20:13:49 - Changes committed and pushed successfully. 2024-11-17 20:13:49 - Building the project... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.33.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.33.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ eksperpanel --- [INFO] Deleting /root/ekspertiz-tech-be/target [INFO] [INFO] --- git-code-format-maven-plugin:5.3:install-hooks (install-formatter-hook) @ eksperpanel --- [INFO] Installing git hooks [INFO] Installed git hooks [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ eksperpanel --- [INFO] Copying 6 resources from src/main/resources to target/classes [INFO] Copying 34 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 410 source files to /root/ekspertiz-tech-be/target/classes [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Some input files use or override a deprecated API. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Recompile with -Xlint:deprecation for details. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Some input files use unchecked or unsafe operations. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ eksperpanel --- [INFO] skip non existing resourceDirectory /root/ekspertiz-tech-be/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /root/ekspertiz-tech-be/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ eksperpanel --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ eksperpanel --- [INFO] Building jar: /root/ekspertiz-tech-be/target/eksperpanel-1.33.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (repackage) @ eksperpanel --- [INFO] Replacing main artifact /root/ekspertiz-tech-be/target/eksperpanel-1.33.0.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /root/ekspertiz-tech-be/target/eksperpanel-1.33.0.jar.original [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (default) @ eksperpanel --- [INFO] Attaching repackaged archive /root/ekspertiz-tech-be/target/eksperpanel-1.33.0-spring-boot.jar with classifier spring-boot [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.666 s [INFO] Finished at: 2024-11-17T20:14:04Z [INFO] ------------------------------------------------------------------------ 2024-11-17 20:14:04 - No running process found for PID 417472. Cleaning up PID file. 2024-11-17 20:14:04 - Starting the application in environment 'prod'... 2024-11-17 20:14:04 - Application started successfully with PID 418388. 2024-11-17 20:14:04 - Setting up Grafana, Loki, and Promtail using Docker Compose... 2024-11-17 20:14:05 - All containers are already running. No need to rebuild. 2024-11-17 20:14:05 - Deployment completed successfully. 2024-11-17 20:14:05 - Application URL: http://101.44.33.238:8083 2024-11-17 20:14:05 - Grafana is accessible at: http://101.44.33.238:3000 2024-11-17 20:14:05 - Logs can be visualized in Grafana with Loki datasource. git pull remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Compressing objects: 100% (3/3), done. remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0) Unpacking objects: 100% (3/3), 403 bytes | 403.00 KiB/s, done. From gitlab.com:mehmet32/ekspertiz-tech-be 748306ff..522a7584 development -> origin/development Updating 748306ff..522a7584 Fast-forward deploy-config.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) sudo ./deploy.sh --env prod 2024-11-17 20:17:09 - Production environment detected. MySQL container will not be started. 2024-11-17 20:17:09 - Starting deployment process... 2024-11-17 20:17:09 - Loading configuration from /root/ekspertiz-tech-be/deploy-config.env 2024-11-17 20:17:09 - Configuration validation completed successfully 2024-11-17 20:17:09 - Navigated to project directory: . 2024-11-17 20:17:09 - Pulling the latest changes from the repository... M test-env.pid Already on 'development' Your branch is up to date with 'origin/development'. From gitlab.com:mehmet32/ekspertiz-tech-be * branch development -> FETCH_HEAD Already up to date. 2024-11-17 20:17:11 - Reading artifactId and version from pom.xml... 2024-11-17 20:17:11 - Artifact ID: eksperpanel, Version: 1.33.0, JAR: /root/ekspertiz-tech-be/target/eksperpanel-1.33.0.jar 2024-11-17 20:17:11 - Taking backup of the old build... 2024-11-17 20:17:12 - Backup of old build completed: ./backup/eksperpanel-1.33.0.jar 2024-11-17 20:17:12 - Reading current version from pom.xml... 2024-11-17 20:17:12 - Current version: 1.33.0 2024-11-17 20:17:12 - Prod environment detected. Incrementing minor version to: 1.34.0 2024-11-17 20:17:12 - Version updated in pom.xml to 1.34.0 2024-11-17 20:17:12 - Updated APP_JAR to: /root/ekspertiz-tech-be/target/eksperpanel-1.34.0.jar 2024-11-17 20:17:12 - Committing and pushing changes to the repository... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.34.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.34.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- git-code-format-maven-plugin:5.3:on-pre-commit (default-cli) @ eksperpanel --- [INFO] Executing pre-commit hooks [INFO] Executed pre-commit hooks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.060 s [INFO] Finished at: 2024-11-17T20:17:14Z [INFO] ------------------------------------------------------------------------ [development 59370c20] Update version to 1.34.0 1 file changed, 1 insertion(+), 1 deletion(-) Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 306 bytes | 306.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 To gitlab.com:mehmet32/ekspertiz-tech-be.git 522a7584..59370c20 development -> development 2024-11-17 20:17:16 - Changes committed and pushed successfully. 2024-11-17 20:17:16 - Building the project... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.34.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.34.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ eksperpanel --- [INFO] Deleting /root/ekspertiz-tech-be/target [INFO] [INFO] --- git-code-format-maven-plugin:5.3:install-hooks (install-formatter-hook) @ eksperpanel --- [INFO] Installing git hooks [INFO] Installed git hooks [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ eksperpanel --- [INFO] Copying 6 resources from src/main/resources to target/classes [INFO] Copying 34 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 410 source files to /root/ekspertiz-tech-be/target/classes [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Some input files use or override a deprecated API. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Recompile with -Xlint:deprecation for details. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Some input files use unchecked or unsafe operations. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ eksperpanel --- [INFO] skip non existing resourceDirectory /root/ekspertiz-tech-be/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /root/ekspertiz-tech-be/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ eksperpanel --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ eksperpanel --- [INFO] Building jar: /root/ekspertiz-tech-be/target/eksperpanel-1.34.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (repackage) @ eksperpanel --- [INFO] Replacing main artifact /root/ekspertiz-tech-be/target/eksperpanel-1.34.0.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /root/ekspertiz-tech-be/target/eksperpanel-1.34.0.jar.original [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (default) @ eksperpanel --- [INFO] Attaching repackaged archive /root/ekspertiz-tech-be/target/eksperpanel-1.34.0-spring-boot.jar with classifier spring-boot [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.137 s [INFO] Finished at: 2024-11-17T20:17:32Z [INFO] ------------------------------------------------------------------------ 2024-11-17 20:17:32 - No running process found for PID 418388. Cleaning up PID file. 2024-11-17 20:17:32 - Starting the application in environment 'prod'... 2024-11-17 20:17:32 - Application started successfully with PID 419877. 2024-11-17 20:17:32 - Setting up Grafana, Loki, and Promtail using Docker Compose... 2024-11-17 20:17:32 - All containers are already running. No need to rebuild. 2024-11-17 20:17:32 - Deployment completed successfully. 2024-11-17 20:17:32 - Application URL: http://101.44.33.238:8083 2024-11-17 20:17:32 - Grafana is accessible at: http://101.44.33.238:3000 2024-11-17 20:17:32 - Logs can be visualized in Grafana with Loki datasource. git pull remote: Enumerating objects: 19, done. remote: Counting objects: 100% (19/19), done. remote: Compressing objects: 100% (7/7), done. remote: Total 10 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0) Unpacking objects: 100% (10/10), 726 bytes | 363.00 KiB/s, done. From gitlab.com:mehmet32/ekspertiz-tech-be 59370c20..c88bcd0c development -> origin/development Updating 59370c20..c88bcd0c Fast-forward src/main/java/com/codefirst/otoexpert/elasticsearch/SearchController.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) sudo ./deploy.sh --env prod 2024-11-17 20:24:30 - Production environment detected. MySQL container will not be started. 2024-11-17 20:24:30 - Starting deployment process... 2024-11-17 20:24:30 - Loading configuration from /root/ekspertiz-tech-be/deploy-config.env 2024-11-17 20:24:30 - Configuration validation completed successfully 2024-11-17 20:24:30 - Navigated to project directory: . 2024-11-17 20:24:30 - Pulling the latest changes from the repository... M test-env.pid Already on 'development' Your branch is up to date with 'origin/development'. From gitlab.com:mehmet32/ekspertiz-tech-be * branch development -> FETCH_HEAD Already up to date. 2024-11-17 20:24:33 - Reading artifactId and version from pom.xml... 2024-11-17 20:24:33 - Artifact ID: eksperpanel, Version: 1.34.0, JAR: /root/ekspertiz-tech-be/target/eksperpanel-1.34.0.jar 2024-11-17 20:24:33 - Taking backup of the old build... 2024-11-17 20:24:33 - Backup of old build completed: ./backup/eksperpanel-1.34.0.jar 2024-11-17 20:24:33 - Reading current version from pom.xml... 2024-11-17 20:24:33 - Current version: 1.34.0 2024-11-17 20:24:33 - Prod environment detected. Incrementing minor version to: 1.35.0 2024-11-17 20:24:33 - Version updated in pom.xml to 1.35.0 2024-11-17 20:24:33 - Updated APP_JAR to: /root/ekspertiz-tech-be/target/eksperpanel-1.35.0.jar 2024-11-17 20:24:33 - Committing and pushing changes to the repository... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.35.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.35.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- git-code-format-maven-plugin:5.3:on-pre-commit (default-cli) @ eksperpanel --- [INFO] Executing pre-commit hooks [INFO] Executed pre-commit hooks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.902 s [INFO] Finished at: 2024-11-17T20:24:35Z [INFO] ------------------------------------------------------------------------ [development b19a5872] Update version to 1.35.0 1 file changed, 1 insertion(+), 1 deletion(-) Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 302 bytes | 302.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 To gitlab.com:mehmet32/ekspertiz-tech-be.git c88bcd0c..b19a5872 development -> development 2024-11-17 20:24:37 - Changes committed and pushed successfully. 2024-11-17 20:24:37 - Building the project... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.35.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.35.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ eksperpanel --- [INFO] Deleting /root/ekspertiz-tech-be/target [INFO] [INFO] --- git-code-format-maven-plugin:5.3:install-hooks (install-formatter-hook) @ eksperpanel --- [INFO] Installing git hooks [INFO] Installed git hooks [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ eksperpanel --- [INFO] Copying 6 resources from src/main/resources to target/classes [INFO] Copying 34 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 410 source files to /root/ekspertiz-tech-be/target/classes [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Some input files use or override a deprecated API. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Recompile with -Xlint:deprecation for details. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Some input files use unchecked or unsafe operations. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ eksperpanel --- [INFO] skip non existing resourceDirectory /root/ekspertiz-tech-be/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /root/ekspertiz-tech-be/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ eksperpanel --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ eksperpanel --- [INFO] Building jar: /root/ekspertiz-tech-be/target/eksperpanel-1.35.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (repackage) @ eksperpanel --- [INFO] Replacing main artifact /root/ekspertiz-tech-be/target/eksperpanel-1.35.0.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /root/ekspertiz-tech-be/target/eksperpanel-1.35.0.jar.original [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (default) @ eksperpanel --- [INFO] Attaching repackaged archive /root/ekspertiz-tech-be/target/eksperpanel-1.35.0-spring-boot.jar with classifier spring-boot [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.332 s [INFO] Finished at: 2024-11-17T20:24:53Z [INFO] ------------------------------------------------------------------------ 2024-11-17 20:24:53 - No running process found for PID 419877. Cleaning up PID file. 2024-11-17 20:24:53 - Starting the application in environment 'prod'... 2024-11-17 20:24:53 - Application started successfully with PID 422776. 2024-11-17 20:24:53 - Setting up Grafana, Loki, and Promtail using Docker Compose... 2024-11-17 20:24:53 - All containers are already running. No need to rebuild. 2024-11-17 20:24:53 - Deployment completed successfully. 2024-11-17 20:24:53 - Application URL: http://101.44.33.238:8083 2024-11-17 20:24:53 - Grafana is accessible at: http://101.44.33.238:3000 2024-11-17 20:24:53 - Logs can be visualized in Grafana with Loki datasource. git pull remote: Enumerating objects: 19, done. remote: Counting objects: 100% (19/19), done. remote: Compressing objects: 100% (7/7), done. remote: Total 10 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0) Unpacking objects: 100% (10/10), 696 bytes | 232.00 KiB/s, done. From gitlab.com:mehmet32/ekspertiz-tech-be b19a5872..75fd3769 development -> origin/development Updating b19a5872..75fd3769 Fast-forward src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) sudo ./deploy.sh --env prod 2024-11-17 20:28:51 - Production environment detected. MySQL container will not be started. 2024-11-17 20:28:51 - Starting deployment process... 2024-11-17 20:28:51 - Loading configuration from /root/ekspertiz-tech-be/deploy-config.env 2024-11-17 20:28:51 - Configuration validation completed successfully 2024-11-17 20:28:51 - Navigated to project directory: . 2024-11-17 20:28:51 - Pulling the latest changes from the repository... M test-env.pid Already on 'development' Your branch is up to date with 'origin/development'. From gitlab.com:mehmet32/ekspertiz-tech-be * branch development -> FETCH_HEAD Already up to date. 2024-11-17 20:28:53 - Reading artifactId and version from pom.xml... 2024-11-17 20:28:53 - Artifact ID: eksperpanel, Version: 1.35.0, JAR: /root/ekspertiz-tech-be/target/eksperpanel-1.35.0.jar 2024-11-17 20:28:53 - Taking backup of the old build... 2024-11-17 20:28:53 - Backup of old build completed: ./backup/eksperpanel-1.35.0.jar 2024-11-17 20:28:53 - Reading current version from pom.xml... 2024-11-17 20:28:53 - Current version: 1.35.0 2024-11-17 20:28:53 - Prod environment detected. Incrementing minor version to: 1.36.0 2024-11-17 20:28:53 - Version updated in pom.xml to 1.36.0 2024-11-17 20:28:53 - Updated APP_JAR to: /root/ekspertiz-tech-be/target/eksperpanel-1.36.0.jar 2024-11-17 20:28:53 - Committing and pushing changes to the repository... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.36.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.36.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- git-code-format-maven-plugin:5.3:on-pre-commit (default-cli) @ eksperpanel --- [INFO] Executing pre-commit hooks [INFO] Executed pre-commit hooks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.842 s [INFO] Finished at: 2024-11-17T20:28:55Z [INFO] ------------------------------------------------------------------------ [development d26dba9f] Update version to 1.36.0 1 file changed, 1 insertion(+), 1 deletion(-) Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 302 bytes | 302.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 To gitlab.com:mehmet32/ekspertiz-tech-be.git 75fd3769..d26dba9f development -> development 2024-11-17 20:28:57 - Changes committed and pushed successfully. 2024-11-17 20:28:57 - Building the project... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.36.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.36.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ eksperpanel --- [INFO] Deleting /root/ekspertiz-tech-be/target [INFO] [INFO] --- git-code-format-maven-plugin:5.3:install-hooks (install-formatter-hook) @ eksperpanel --- [INFO] Installing git hooks [INFO] Installed git hooks [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ eksperpanel --- [INFO] Copying 6 resources from src/main/resources to target/classes [INFO] Copying 34 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 410 source files to /root/ekspertiz-tech-be/target/classes [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Some input files use or override a deprecated API. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Recompile with -Xlint:deprecation for details. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Some input files use unchecked or unsafe operations. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ eksperpanel --- [INFO] skip non existing resourceDirectory /root/ekspertiz-tech-be/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /root/ekspertiz-tech-be/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ eksperpanel --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ eksperpanel --- [INFO] Building jar: /root/ekspertiz-tech-be/target/eksperpanel-1.36.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (repackage) @ eksperpanel --- [INFO] Replacing main artifact /root/ekspertiz-tech-be/target/eksperpanel-1.36.0.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /root/ekspertiz-tech-be/target/eksperpanel-1.36.0.jar.original [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (default) @ eksperpanel --- [INFO] Attaching repackaged archive /root/ekspertiz-tech-be/target/eksperpanel-1.36.0-spring-boot.jar with classifier spring-boot [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.444 s [INFO] Finished at: 2024-11-17T20:29:12Z [INFO] ------------------------------------------------------------------------ 2024-11-17 20:29:12 - No running process found for PID 422776. Cleaning up PID file. 2024-11-17 20:29:12 - Starting the application in environment 'prod'... 2024-11-17 20:29:12 - Application started successfully with PID 424689. 2024-11-17 20:29:12 - Setting up Grafana, Loki, and Promtail using Docker Compose... 2024-11-17 20:29:13 - All containers are already running. No need to rebuild. 2024-11-17 20:29:13 - Deployment completed successfully. 2024-11-17 20:29:13 - Application URL: http://101.44.33.238:8083 2024-11-17 20:29:13 - Grafana is accessible at: http://101.44.33.238:3000 2024-11-17 20:29:13 - Logs can be visualized in Grafana with Loki datasource. java -version openjdk version "22.0.2" 2024-07-16 OpenJDK Runtime Environment Corretto-22.0.2.9.1 (build 22.0.2+9-FR) OpenJDK 64-Bit Server VM Corretto-22.0.2.9.1 (build 22.0.2+9-FR, mixed mode, sharing) git pull remote: Enumerating objects: 62, done. remote: Counting objects: 100% (62/62), done. remote: Compressing objects: 100% (30/30), done. remote: Total 34 (delta 21), reused 0 (delta 0), pack-reused 0 (from 0) Unpacking objects: 100% (34/34), 8.92 KiB | 537.00 KiB/s, done. From gitlab.com:mehmet32/ekspertiz-tech-be 102c42cb..689a31e7 development -> origin/development Updating 102c42cb..689a31e7 Fast-forward deploy-config.env | 2 +- src/main/java/com/codefirst/otoexpert/data/ExpertizFile.java | 2 +- src/main/java/com/codefirst/otoexpert/data/FirmService.java | 3 +- src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticSearchFetchDataReport.java | 11 -- src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticSearchMapper.java | 21 ---- src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticSearchService.java | 793 ----------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticsearchFetchDataResponse.java | 11 -- src/main/java/com/codefirst/otoexpert/elasticsearch/FilterByFileTypesDto.java | 44 -------- src/main/java/com/codefirst/otoexpert/elasticsearch/FilterTypesList.java | 14 --- src/main/java/com/codefirst/otoexpert/elasticsearch/PaginationResponse.java | 15 --- src/main/java/com/codefirst/otoexpert/elasticsearch/SearchController.java | 68 ------------- src/main/java/com/codefirst/otoexpert/elasticsearch/SearchData.java | 166 ------------------------------ src/main/java/com/codefirst/otoexpert/elasticsearch/SearchDto.java | 46 --------- src/main/java/com/codefirst/otoexpert/elasticsearch/SearchServiceData.java | 118 ---------------------- src/main/java/com/codefirst/otoexpert/elasticsearch/SearchServiceDto.java | 41 -------- src/main/java/com/codefirst/otoexpert/elasticsearch/SearchSupplierData.java | 56 ----------- src/main/java/com/codefirst/otoexpert/elasticsearch/SearchUserData.java | 67 ------------ src/main/java/com/codefirst/otoexpert/{elasticsearch => elasticsearchv2}/FileStatusType.java | 2 +- src/main/java/com/codefirst/otoexpert/{elasticsearch => elasticsearchv2}/FilterDto.java | 2 +- src/main/java/com/codefirst/otoexpert/{elasticsearch => elasticsearchv2}/FilterTypes.java | 2 +- src/main/java/com/codefirst/otoexpert/elasticsearchv2/controller/ExpertizFileSearchController.java | 2 +- src/main/java/com/codefirst/otoexpert/elasticsearchv2/repository/FirmServiceDocumentRepository.java | 4 +- src/main/java/com/codefirst/otoexpert/elasticsearchv2/service/ExpertizFileSearchService.java | 31 +++--- src/main/java/com/codefirst/otoexpert/elasticsearchv2/service/FirmServiceSearchService.java | 29 +++--- src/main/java/com/codefirst/otoexpert/service/ExpertizFileService.java | 5 - src/main/java/com/codefirst/otoexpert/service/FirmServiceService.java | 13 +-- src/main/java/com/codefirst/otoexpert/service/SupplierService.java | 5 - src/main/java/com/codefirst/otoexpert/service/UserService.java | 7 -- src/main/resources/application-local.yml | 2 +- src/main/resources/application-prod.yml | 2 +- src/main/resources/application-test.yml | 26 +++-- src/main/resources/application-ui-config.yml | 2 +- 32 files changed, 59 insertions(+), 1553 deletions(-) delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticSearchFetchDataReport.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticSearchMapper.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticSearchService.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/ElasticsearchFetchDataResponse.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/FilterByFileTypesDto.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/FilterTypesList.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/PaginationResponse.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchController.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchData.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchDto.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchServiceData.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchServiceDto.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchSupplierData.java delete mode 100644 src/main/java/com/codefirst/otoexpert/elasticsearch/SearchUserData.java rename src/main/java/com/codefirst/otoexpert/{elasticsearch => elasticsearchv2}/FileStatusType.java (53%) rename src/main/java/com/codefirst/otoexpert/{elasticsearch => elasticsearchv2}/FilterDto.java (95%) rename src/main/java/com/codefirst/otoexpert/{elasticsearch => elasticsearchv2}/FilterTypes.java (91%) ls README.md backup config deploy.prod.sh docker-compose.yml log4j2.xml mysql-backup-script.sh pom.xml qodana.yaml target test-env.pid app.log changelogs deploy-config.env deploy.sh google-java-format.xml main-request-samples.http nohup.out prod_db_schema.sql src templates pwd /root/ekspertiz-tech-be ls README.md backup config deploy.prod.sh docker-compose.yml log4j2.xml mysql-backup-script.sh pom.xml qodana.yaml target test-env.pid app.log changelogs deploy-config.env deploy.sh google-java-format.xml main-request-samples.http nohup.out prod_db_schema.sql src templates sh deploy.sh --env prod deploy.sh: 22: set: Illegal option -o pipefail sudo ./deploy.sh --env prod 2024-11-17 21:07:59 - Production environment detected. MySQL container will not be started. 2024-11-17 21:07:59 - Starting deployment process... 2024-11-17 21:07:59 - Loading configuration from /root/ekspertiz-tech-be/deploy-config.env 2024-11-17 21:07:59 - Configuration validation completed successfully 2024-11-17 21:07:59 - Navigated to project directory: . 2024-11-17 21:07:59 - Pulling the latest changes from the repository... M test-env.pid Already on 'development' Your branch is up to date with 'origin/development'. From gitlab.com:mehmet32/ekspertiz-tech-be * branch development -> FETCH_HEAD Already up to date. 2024-11-17 21:08:01 - Reading artifactId and version from pom.xml... 2024-11-17 21:08:01 - Artifact ID: eksperpanel, Version: 1.37.0, JAR: /root/ekspertiz-tech-be/target/eksperpanel-1.37.0.jar 2024-11-17 21:08:01 - Taking backup of the old build... 2024-11-17 21:08:02 - Backup of old build completed: ./backup/eksperpanel-1.37.0.jar 2024-11-17 21:08:02 - Reading current version from pom.xml... 2024-11-17 21:08:02 - Current version: 1.37.0 2024-11-17 21:08:02 - Prod environment detected. Incrementing minor version to: 1.38.0 2024-11-17 21:08:02 - Version updated in pom.xml to 1.38.0 2024-11-17 21:08:02 - Updated APP_JAR to: /root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar 2024-11-17 21:08:02 - Committing and pushing changes to the repository... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.38.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.38.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- git-code-format-maven-plugin:5.3:on-pre-commit (default-cli) @ eksperpanel --- [INFO] Executing pre-commit hooks [INFO] Executed pre-commit hooks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.943 s [INFO] Finished at: 2024-11-17T21:08:04Z [INFO] ------------------------------------------------------------------------ [development e784fe31] Update version to 1.38.0 1 file changed, 1 insertion(+), 1 deletion(-) Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 306 bytes | 306.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 To gitlab.com:mehmet32/ekspertiz-tech-be.git 689a31e7..e784fe31 development -> development 2024-11-17 21:08:06 - Changes committed and pushed successfully. 2024-11-17 21:08:06 - Building the project... [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.codefirst:eksperpanel:jar:1.38.0 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------< com.codefirst:eksperpanel >---------------------- [INFO] Building Eksper Panel Service 1.38.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.2:clean (default-clean) @ eksperpanel --- [INFO] Deleting /root/ekspertiz-tech-be/target [INFO] [INFO] --- git-code-format-maven-plugin:5.3:install-hooks (install-formatter-hook) @ eksperpanel --- [INFO] Installing git hooks [INFO] Installed git hooks [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ eksperpanel --- [INFO] Copying 6 resources from src/main/resources to target/classes [INFO] Copying 34 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 396 source files to /root/ekspertiz-tech-be/target/classes [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Some input files use or override a deprecated API. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/data/User.java: Recompile with -Xlint:deprecation for details. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Some input files use unchecked or unsafe operations. [INFO] /root/ekspertiz-tech-be/src/main/java/com/codefirst/otoexpert/config/JwtTokenUtil.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ eksperpanel --- [INFO] skip non existing resourceDirectory /root/ekspertiz-tech-be/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ eksperpanel --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /root/ekspertiz-tech-be/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ eksperpanel --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ eksperpanel --- [INFO] Building jar: /root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (repackage) @ eksperpanel --- [INFO] Replacing main artifact /root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar.original [INFO] [INFO] --- spring-boot-maven-plugin:3.3.4:repackage (default) @ eksperpanel --- [INFO] Attaching repackaged archive /root/ekspertiz-tech-be/target/eksperpanel-1.38.0-spring-boot.jar with classifier spring-boot [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.744 s [INFO] Finished at: 2024-11-17T21:08:22Z [INFO] ------------------------------------------------------------------------ 2024-11-17 21:08:22 - No running process found for PID 431810. Cleaning up PID file. 2024-11-17 21:08:23 - Starting the application in environment 'prod'... 2024-11-17 21:08:23 - Application started successfully with PID 440402. 2024-11-17 21:08:23 - Setting up Grafana, Loki, and Promtail using Docker Compose... 2024-11-17 21:08:23 - All containers are already running. No need to rebuild. 2024-11-17 21:08:23 - Deployment completed successfully. 2024-11-17 21:08:23 - Application URL: http://101.44.33.238:8083 2024-11-17 21:08:23 - Grafana is accessible at: http://101.44.33.238:3000 2024-11-17 21:08:23 - Logs can be visualized in Grafana with Loki datasource. tail -300f app.log . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.3.4) 21:08:24.499 [main] INFO c.c.otoexpert.OtoExpertApplication - Starting OtoExpertApplication v1.38.0 using Java 22.0.2 with PID 440402 (/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar started by root in /root/ekspertiz-tech-be) 21:08:24.502 [main] DEBUG c.c.otoexpert.OtoExpertApplication - Running with Spring Boot v3.3.4, Spring v6.1.13 21:08:24.503 [main] INFO c.c.otoexpert.OtoExpertApplication - The following 1 profile is active: "prod" 21:08:26.629 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode 21:08:26.632 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Elasticsearch repositories in DEFAULT mode. 21:08:26.692 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MonthlyCompanyBillRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.694 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CarModelRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.696 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MessageRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.697 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CarBrandRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.699 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.FilterAttributesRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.700 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.DistrictRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.701 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CityRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.703 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.AuthorityRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.704 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.NameDescriptionRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.705 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ExpensesRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.710 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ExpertizFileRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.716 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.UserRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.718 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.SmsRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.722 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.UserTransactionLogRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.723 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.UploadFileRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.724 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.SupplierRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.726 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CustomerRequestRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.727 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BaseRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.728 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BillingConstantRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.729 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CompanyRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.730 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.WageScaleRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.731 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.PaymentRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.732 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.CustomerRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.734 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.NoteRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.735 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.RoleRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.736 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MediaRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.737 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BankRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.738 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.BankAccountRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.742 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.TokenBlacklistRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.743 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.InsuranceCompanyRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.744 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ExpertizFileUpdateLogRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.745 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.OtpServiceMessageLogRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.746 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.ValidationTokenRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.747 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.MobileVersionRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.749 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.repository.FirmServiceRepository; If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository 21:08:26.775 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 139 ms. Found 2 Elasticsearch repository interfaces. 21:08:26.787 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode 21:08:26.788 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode. 21:08:26.809 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.elasticsearchv2.repository.ExpertizFileDocumentRepository; If you want this repository to be a JPA repository, consider annotating your entities with one of these annotations: jakarta.persistence.Entity, jakarta.persistence.MappedSuperclass (preferred), or consider extending one of the following types with your repository: org.springframework.data.jpa.repository.JpaRepository 21:08:26.812 [main] INFO o.s.d.r.c.RepositoryConfigurationExtensionSupport - Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository; If you want this repository to be a JPA repository, consider annotating your entities with one of these annotations: jakarta.persistence.Entity, jakarta.persistence.MappedSuperclass (preferred), or consider extending one of the following types with your repository: org.springframework.data.jpa.repository.JpaRepository 21:08:26.943 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 151 ms. Found 35 JPA repository interfaces. 21:08:28.018 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port 8093 (http) 21:08:28.034 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 21:08:28.034 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.30] 21:08:28.069 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext 21:08:28.070 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3498 ms 21:08:28.435 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... 21:08:28.873 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@470a446f 21:08:28.875 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. 21:08:28.932 [main] INFO org.flywaydb.core.FlywayExecutor - Database: jdbc:mysql://db-mysql-eksper-do-user-9266973-0.c.db.ondigitalocean.com:25060/experinfo_prod (MySQL 8.0) 21:08:29.025 [main] INFO o.f.core.internal.command.DbValidate - Successfully validated 24 migrations (execution time 00:00.062s) 21:08:29.062 [main] INFO o.f.core.internal.command.DbMigrate - Current version of schema `experinfo_prod`: 23 21:08:29.069 [main] INFO o.f.core.internal.command.DbMigrate - Schema `experinfo_prod` is up to date. No migration necessary. 21:08:29.225 [main] INFO o.h.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default] 21:08:29.308 [main] INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 6.5.3.Final 21:08:29.344 [main] INFO o.h.c.i.RegionFactoryInitiator - HHH000026: Second-level cache disabled 21:08:29.637 [main] INFO o.s.o.j.p.SpringPersistenceUnitInfo - No LoadTimeWeaver setup: ignoring JPA class transformer 21:08:29.712 [main] WARN org.hibernate.orm.deprecation - HHH90000025: MySQL8Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 21:08:29.713 [main] WARN org.hibernate.orm.deprecation - HHH90000026: MySQL8Dialect has been deprecated; use org.hibernate.dialect.MySQLDialect instead 21:08:31.729 [main] INFO o.h.e.t.j.p.i.JtaPlatformInitiator - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 21:08:32.108 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default' 21:08:32.973 [main] DEBUG c.c.otoexpert.config.JwtTokenUtil - Generating secret key from secret: 436bd86f28128e57735ee9bfd05bab412384ce06be0f0e6811e48b670895bcfa9a74ecf972e529b1963b932fc4aebaadf0d0826cf77f1bca95983952c0d711e4 21:08:33.041 [main] DEBUG c.c.o.c.ApiJWTAuthorizationFilter - Filter 'apiJWTAuthorizationFilter' configured for use 21:08:33.042 [main] DEBUG c.c.o.config.TokenBlacklistFilter - Filter 'tokenBlacklistFilterFilterRegistrationBean' configured for use 21:08:33.042 [main] DEBUG c.c.otoexpert.config.RequestIdFilter - Filter 'requestIdFilter' configured for use 21:08:33.042 [main] DEBUG c.c.o.config.TokenBlacklistFilter - Filter 'tokenBlacklistFilter' configured for use 21:08:33.170 [main] INFO o.s.d.j.r.query.QueryEnhancerFactory - Hibernate is in classpath; If applicable, HQL parser will be used. 21:08:34.341 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'welcomeController' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/controller/WelcomeController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'welcomeService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/WelcomeService.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'expertizFileService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/ExpertizFileService.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'firmServiceService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/FirmServiceService.class]: Unsatisfied dependency expressed through constructor parameter 6: Error creating bean with name 'firmServiceDocumentRepository' defined in com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchRepositoriesRegistrar.EnableElasticsearchRepositoriesConfiguration: Cannot resolve reference to bean 'elasticsearchTemplate' while setting bean property 'elasticsearchOperations' 21:08:34.342 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default' 21:08:34.344 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... 21:08:34.349 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. 21:08:34.351 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat] 21:08:34.372 [main] INFO o.s.b.a.l.ConditionEvaluationReportLogger - Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 21:08:34.399 [main] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'welcomeController' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/controller/WelcomeController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'welcomeService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/WelcomeService.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'expertizFileService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/ExpertizFileService.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'firmServiceService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/FirmServiceService.class]: Unsatisfied dependency expressed through constructor parameter 6: Error creating bean with name 'firmServiceDocumentRepository' defined in com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchRepositoriesRegistrar.EnableElasticsearchRepositoriesConfiguration: Cannot resolve reference to bean 'elasticsearchTemplate' while setting bean property 'elasticsearchOperations' at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:971) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) at com.codefirst.otoexpert.OtoExpertApplication.main(OtoExpertApplication.java:19) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'welcomeService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/WelcomeService.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'expertizFileService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/ExpertizFileService.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'firmServiceService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/FirmServiceService.class]: Unsatisfied dependency expressed through constructor parameter 6: Error creating bean with name 'firmServiceDocumentRepository' defined in com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchRepositoriesRegistrar.EnableElasticsearchRepositoriesConfiguration: Cannot resolve reference to bean 'elasticsearchTemplate' while setting bean property 'elasticsearchOperations' at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 24 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'expertizFileService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/ExpertizFileService.class]: Unsatisfied dependency expressed through constructor parameter 2: Error creating bean with name 'firmServiceService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/FirmServiceService.class]: Unsatisfied dependency expressed through constructor parameter 6: Error creating bean with name 'firmServiceDocumentRepository' defined in com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchRepositoriesRegistrar.EnableElasticsearchRepositoriesConfiguration: Cannot resolve reference to bean 'elasticsearchTemplate' while setting bean property 'elasticsearchOperations' at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 38 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'firmServiceService' defined in URL [jar:nested:/root/ekspertiz-tech-be/target/eksperpanel-1.38.0.jar/!BOOT-INF/classes/!/com/codefirst/otoexpert/service/FirmServiceService.class]: Unsatisfied dependency expressed through constructor parameter 6: Error creating bean with name 'firmServiceDocumentRepository' defined in com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchRepositoriesRegistrar.EnableElasticsearchRepositoriesConfiguration: Cannot resolve reference to bean 'elasticsearchTemplate' while setting bean property 'elasticsearchOperations' at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1375) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1212) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 52 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'firmServiceDocumentRepository' defined in com.codefirst.otoexpert.elasticsearchv2.repository.FirmServiceDocumentRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchRepositoriesRegistrar.EnableElasticsearchRepositoriesConfiguration: Cannot resolve reference to bean 'elasticsearchTemplate' while setting bean property 'elasticsearchOperations' at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:377) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:135) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1705) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1454) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 66 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'elasticsearchTemplate' defined in class path resource [org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchDataConfiguration$JavaClientConfiguration.class]: Unsatisfied dependency expressed through method 'elasticsearchTemplate' parameter 0: Error creating bean with name 'elasticsearchClient' defined in class path resource [com/codefirst/otoexpert/elasticsearch/ElasticConfig.class]: Failed to instantiate [co.elastic.clients.elasticsearch.ElasticsearchClient]: Factory method 'elasticsearchClient' threw exception with message: Cannot invoke "org.springframework.context.ApplicationContext.getEnvironment()" because the return value of "com.codefirst.otoexpert.config.SpringContext.getAppContext()" is null at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:542) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:365) ... 80 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticsearchClient' defined in class path resource [com/codefirst/otoexpert/elasticsearch/ElasticConfig.class]: Failed to instantiate [co.elastic.clients.elasticsearch.ElasticsearchClient]: Factory method 'elasticsearchClient' threw exception with message: Cannot invoke "org.springframework.context.ApplicationContext.getEnvironment()" because the return value of "com.codefirst.otoexpert.config.SpringContext.getAppContext()" is null at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ... 90 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [co.elastic.clients.elasticsearch.ElasticsearchClient]: Factory method 'elasticsearchClient' threw exception with message: Cannot invoke "org.springframework.context.ApplicationContext.getEnvironment()" because the return value of "com.codefirst.otoexpert.config.SpringContext.getAppContext()" is null at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:178) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644) ... 104 common frames omitted Caused by: java.lang.NullPointerException: Cannot invoke "org.springframework.context.ApplicationContext.getEnvironment()" because the return value of "com.codefirst.otoexpert.config.SpringContext.getAppContext()" is null at com.codefirst.otoexpert.config.ConfigLoaderUtil.getProperty(ConfigLoaderUtil.java:6) at com.codefirst.otoexpert.elasticsearch.ElasticConfig.elasticsearchClient(ElasticConfig.java:24) at com.codefirst.otoexpert.elasticsearch.ElasticConfig$$SpringCGLIB$$0.CGLIB$elasticsearchClient$0() at com.codefirst.otoexpert.elasticsearch.ElasticConfig$$SpringCGLIB$$FastClass$$1.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:348) at com.codefirst.otoexpert.elasticsearch.ElasticConfig$$SpringCGLIB$$0.elasticsearchClient() at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:146) ... 105 common frames omitted ^C