diff --git a/build.gradle b/build.gradle index cfd786a..f00ab25 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,13 @@ dependencies { implementation('org.springframework.boot:spring-boot-starter-data-jpa') implementation 'org.apache.tomcat.embed:tomcat-embed-jasper' implementation 'com.mysql:mysql-connector-j' + implementation 'org.modelmapper:modelmapper:3.2.0' + implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' + implementation 'org.liquibase:liquibase-core' + + // testImplementation "org.testcontainers:testcontainers:1.19.7" + testImplementation('org.testcontainers:mysql') //no version specified + testImplementation 'org.projectlombok:lombok' compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' diff --git a/myfile.log b/myfile.log index 817c56e..99d0cc4 100644 --- a/myfile.log +++ b/myfile.log @@ -1,26 +1,1353 @@ -2024-04-25T17:17:41.176+03:00 INFO 9784 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 9784 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) -2024-04-25T17:17:41.181+03:00 INFO 9784 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" -2024-04-25T17:17:42.721+03:00 INFO 9784 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. -2024-04-25T17:17:42.868+03:00 INFO 9784 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 128 ms. Found 1 JPA repository interface. -2024-04-25T17:17:44.608+03:00 INFO 9784 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) -2024-04-25T17:17:44.649+03:00 INFO 9784 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] -2024-04-25T17:17:44.651+03:00 INFO 9784 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] -2024-04-25T17:17:45.162+03:00 INFO 9784 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. -2024-04-25T17:17:45.178+03:00 INFO 9784 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext -2024-04-25T17:17:45.179+03:00 INFO 9784 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3892 ms -2024-04-25T17:17:45.580+03:00 INFO 9784 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] -2024-04-25T17:17:45.820+03:00 INFO 9784 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final -2024-04-25T17:17:45.946+03:00 INFO 9784 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled -2024-04-25T17:17:46.542+03:00 INFO 9784 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer -2024-04-25T17:17:46.601+03:00 INFO 9784 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... -2024-04-25T17:17:47.593+03:00 INFO 9784 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@b77b0a0 -2024-04-25T17:17:47.598+03:00 INFO 9784 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. -2024-04-25T17:17:50.297+03:00 INFO 9784 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) -2024-04-25T17:17:50.854+03:00 INFO 9784 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' -2024-04-25T17:17:51.410+03:00 INFO 9784 --- [springJRproj] [main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. -2024-04-25T17:17:52.134+03:00 WARN 9784 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning -2024-04-25T17:17:53.000+03:00 INFO 9784 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' -2024-04-25T17:17:53.017+03:00 INFO 9784 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 13.102 seconds (process running for 16.03) -2024-04-25T17:18:09.082+03:00 INFO 9784 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-04-25T17:18:09.083+03:00 INFO 9784 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' -2024-04-25T17:18:09.084+03:00 INFO 9784 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-05-09T09:43:00.912+03:00 INFO 19932 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 19932 (started by ���� in D:\springJRproj) +2024-05-09T09:43:00.928+03:00 INFO 19932 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T09:43:01.729+03:00 INFO 19932 --- [springJRproj] [Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T09:43:01.739+03:00 INFO 19932 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T09:43:02.027+03:00 INFO 19932 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 288 ms +2024-05-09T09:43:02.145+03:00 INFO 19932 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 2.282 seconds (process running for 61.828) +2024-05-09T09:43:02.189+03:00 WARN 19932 --- [springJRproj] [Test worker] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener] to prepare test instance [com.study.springjrproj.controller.TaskControllerIT@426710f0] + +org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.study.springjrproj.controller.TaskControllerIT': Unsatisfied dependency expressed through field 'taskService': No qualifying bean of type 'com.study.springjrproj.service.TaskService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:787) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:767) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:508) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1419) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:398) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:143) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:98) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:163) ~[spring-test-6.1.6.jar:6.1.6] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$10(ClassBasedTestDescriptor.java:378) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:383) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$11(ClassBasedTestDescriptor.java:378) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[na:na] + at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[na:na] + at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[na:na] + at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[na:na] + at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[na:na] + at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) ~[na:na] + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) ~[na:na] + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) ~[na:na] + at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[na:na] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:377) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:290) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:289) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:279) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at java.base/java.util.Optional.orElseGet(Optional.java:364) ~[na:na] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:278) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:106) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:105) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:69) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89) ~[na:na] + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[na:na] + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na] + at java.base/java.lang.reflect.Method.invoke(Method.java:578) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[na:na] + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[na:na] + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[na:na] + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[na:na] + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[na:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:na] +Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.study.springjrproj.service.TaskService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} + at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1880) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1406) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:784) ~[spring-beans-6.1.6.jar:6.1.6] + ... 88 common frames omitted + +2024-05-09T09:52:42.908+03:00 INFO 21604 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 21604 (started by ���� in D:\springJRproj) +2024-05-09T09:52:42.913+03:00 INFO 21604 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T09:52:43.651+03:00 INFO 21604 --- [springJRproj] [Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T09:52:43.652+03:00 INFO 21604 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T09:52:43.986+03:00 INFO 21604 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 333 ms +2024-05-09T09:52:44.110+03:00 INFO 21604 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 2.17 seconds (process running for 70.222) +2024-05-09T09:58:04.991+03:00 INFO 18280 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 18280 (started by ���� in D:\springJRproj) +2024-05-09T09:58:04.995+03:00 INFO 18280 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T09:58:05.447+03:00 INFO 18280 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 1.305 seconds (process running for 4.892) +2024-05-09T09:58:05.576+03:00 WARN 18280 --- [springJRproj] [Test worker] o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener] to prepare test instance [com.study.springjrproj.controller.TaskControllerIT@772861aa] + +org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.study.springjrproj.controller.TaskControllerIT': Unsatisfied dependency expressed through field 'taskService': No qualifying bean of type 'com.study.springjrproj.service.TaskService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:787) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:767) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:508) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1419) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:398) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:143) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:98) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:163) ~[spring-test-6.1.6.jar:6.1.6] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$10(ClassBasedTestDescriptor.java:378) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:383) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$11(ClassBasedTestDescriptor.java:378) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[na:na] + at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[na:na] + at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[na:na] + at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[na:na] + at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[na:na] + at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310) ~[na:na] + at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735) ~[na:na] + at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[na:na] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:377) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:290) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:289) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:279) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at java.base/java.util.Optional.orElseGet(Optional.java:364) ~[na:na] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:278) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$before$2(ClassBasedTestDescriptor.java:204) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:203) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:85) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89) ~[na:na] + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[na:na] + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na] + at java.base/java.lang.reflect.Method.invoke(Method.java:578) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[na:na] + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[na:na] + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[na:na] + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[na:na] + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[na:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:na] +Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.study.springjrproj.service.TaskService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} + at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1880) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1406) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.6.jar:6.1.6] + at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:784) ~[spring-beans-6.1.6.jar:6.1.6] + ... 81 common frames omitted + +2024-05-09T09:59:10.601+03:00 INFO 9640 --- [springJRproj] [Test worker] org.testcontainers.images.PullPolicy : Image pull policy will be performed by: DefaultPullPolicy() +2024-05-09T09:59:10.615+03:00 INFO 9640 --- [springJRproj] [Test worker] o.t.utility.ImageNameSubstitutor : Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor') +2024-05-09T09:59:10.663+03:00 INFO 9640 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 9640 (started by ���� in D:\springJRproj) +2024-05-09T09:59:10.665+03:00 INFO 9640 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T09:59:11.026+03:00 INFO 9640 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 1.292 seconds (process running for 4.441) +2024-05-09T10:15:29.606+03:00 INFO 4184 --- [springJRproj] [Test worker] org.testcontainers.images.PullPolicy : Image pull policy will be performed by: DefaultPullPolicy() +2024-05-09T10:15:29.619+03:00 INFO 4184 --- [springJRproj] [Test worker] o.t.utility.ImageNameSubstitutor : Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor') +2024-05-09T10:15:29.737+03:00 INFO 4184 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 4184 (started by ���� in D:\springJRproj) +2024-05-09T10:15:29.742+03:00 INFO 4184 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T10:15:31.546+03:00 INFO 4184 --- [springJRproj] [Test worker] o.t.d.DockerClientProviderStrategy : Loaded org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first +2024-05-09T10:15:32.342+03:00 INFO 4184 --- [springJRproj] [Test worker] o.t.d.DockerClientProviderStrategy : Found Docker environment with local Npipe socket (npipe:////./pipe/docker_engine) +2024-05-09T10:15:32.348+03:00 WARN 4184 --- [springJRproj] [Test worker] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.study.springjrproj.SpringJRProjApplication]: Error processing condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration +2024-05-09T10:15:32.364+03:00 INFO 4184 --- [springJRproj] [Test worker] .s.b.a.l.ConditionEvaluationReportLogger : + +Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. +2024-05-09T10:15:32.430+03:00 ERROR 4184 --- [springJRproj] [Test worker] o.s.boot.SpringApplication : Application run failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.study.springjrproj.SpringJRProjApplication]: Error processing condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:544) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.lambda$processGroupImports$1(ConfigurationClassParser.java:746) ~[spring-context-6.1.6.jar:6.1.6] + at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na] + at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:743) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:714) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:183) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:416) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:289) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:788) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:606) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:137) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1454) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:553) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:137) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:108) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:225) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:152) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.junit.jupiter.SpringExtension.getApplicationContext(SpringExtension.java:355) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.junit.jupiter.SpringExtension.resolveParameter(SpringExtension.java:341) ~[spring-test-6.1.6.jar:6.1.6] + at org.junit.jupiter.engine.execution.ParameterResolutionUtils.resolveParameter(ParameterResolutionUtils.java:136) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.ParameterResolutionUtils.resolveParameters(ParameterResolutionUtils.java:103) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:59) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestClassConstructor(ClassBasedTestDescriptor.java:364) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:311) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateTestClass(ClassTestDescriptor.java:79) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:287) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:279) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at java.base/java.util.Optional.orElseGet(Optional.java:364) ~[na:na] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:278) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$before$2(ClassBasedTestDescriptor.java:204) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:203) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:85) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89) ~[na:na] + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[na:na] + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na] + at java.base/java.lang.reflect.Method.invoke(Method.java:578) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[na:na] + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[na:na] + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[na:na] + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[na:na] + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[na:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:na] +Caused by: java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration + at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:220) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processMemberClasses(ConfigurationClassParser.java:382) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:273) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:246) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:534) ~[spring-context-6.1.6.jar:6.1.6] + ... 90 common frames omitted +Caused by: java.lang.IllegalStateException: Mapped port can only be obtained after the container is started + at org.testcontainers.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[testcontainers-1.19.7.jar:1.19.7] + at org.testcontainers.containers.ContainerState.getMappedPort(ContainerState.java:161) ~[testcontainers-1.19.7.jar:na] + at org.testcontainers.containers.MySQLContainer.getJdbcUrl(MySQLContainer.java:111) ~[mysql-1.19.7.jar:na] + at org.springframework.util.function.SupplierUtils.resolve(SupplierUtils.java:52) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DynamicValuesPropertySource.getProperty(DynamicValuesPropertySource.java:44) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:85) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver$DefaultResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:125) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.findPropertyValue(ConfigurationPropertySourcesPropertyResolver.java:99) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:75) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:61) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:552) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseCondition.hasDataSourceUrlProperty(DataSourceAutoConfiguration.java:157) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseCondition.getMatchOutcome(DataSourceAutoConfiguration.java:140) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + ... 96 common frames omitted + +2024-05-09T10:19:11.663+03:00 INFO 20184 --- [springJRproj] [Test worker] org.testcontainers.images.PullPolicy : Image pull policy will be performed by: DefaultPullPolicy() +2024-05-09T10:19:11.681+03:00 INFO 20184 --- [springJRproj] [Test worker] o.t.utility.ImageNameSubstitutor : Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor') +2024-05-09T10:19:11.773+03:00 INFO 20184 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 20184 (started by ���� in D:\springJRproj) +2024-05-09T10:19:11.776+03:00 INFO 20184 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T10:19:13.043+03:00 INFO 20184 --- [springJRproj] [Test worker] o.t.d.DockerClientProviderStrategy : Loaded org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first +2024-05-09T10:19:13.684+03:00 INFO 20184 --- [springJRproj] [Test worker] o.t.d.DockerClientProviderStrategy : Found Docker environment with local Npipe socket (npipe:////./pipe/docker_engine) +2024-05-09T10:19:13.689+03:00 WARN 20184 --- [springJRproj] [Test worker] o.s.w.c.s.GenericWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.study.springjrproj.SpringJRProjApplication]: Error processing condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration +2024-05-09T10:19:13.707+03:00 INFO 20184 --- [springJRproj] [Test worker] .s.b.a.l.ConditionEvaluationReportLogger : + +Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. +2024-05-09T10:19:13.763+03:00 ERROR 20184 --- [springJRproj] [Test worker] o.s.boot.SpringApplication : Application run failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.study.springjrproj.SpringJRProjApplication]: Error processing condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:544) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.lambda$processGroupImports$1(ConfigurationClassParser.java:746) ~[spring-context-6.1.6.jar:6.1.6] + at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na] + at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:743) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:714) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:183) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:416) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:289) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:788) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:606) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$3(SpringBootContextLoader.java:137) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1454) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:553) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:137) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:108) ~[spring-boot-test-3.2.5.jar:3.2.5] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:225) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:152) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:130) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.junit.jupiter.SpringExtension.getApplicationContext(SpringExtension.java:355) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.test.context.junit.jupiter.SpringExtension.resolveParameter(SpringExtension.java:341) ~[spring-test-6.1.6.jar:6.1.6] + at org.junit.jupiter.engine.execution.ParameterResolutionUtils.resolveParameter(ParameterResolutionUtils.java:136) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.ParameterResolutionUtils.resolveParameters(ParameterResolutionUtils.java:103) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:59) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestClassConstructor(ClassBasedTestDescriptor.java:364) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:311) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateTestClass(ClassTestDescriptor.java:79) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:287) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:279) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at java.base/java.util.Optional.orElseGet(Optional.java:364) ~[na:na] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:278) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$before$2(ClassBasedTestDescriptor.java:204) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:203) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:85) ~[junit-jupiter-engine-5.10.2.jar:5.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[na:na] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) ~[junit-platform-engine-1.10.2.jar:1.10.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) ~[junit-platform-launcher-1.8.2.jar:1.8.2] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94) ~[na:na] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89) ~[na:na] + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[na:na] + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na] + at java.base/java.lang.reflect.Method.invoke(Method.java:578) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[na:na] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[na:na] + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[na:na] + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[na:na] + at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[na:na] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[na:na] + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[na:na] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[na:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:na] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:na] +Caused by: java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration + at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:220) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processMemberClasses(ConfigurationClassParser.java:382) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:273) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:246) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:534) ~[spring-context-6.1.6.jar:6.1.6] + ... 90 common frames omitted +Caused by: java.lang.IllegalStateException: Mapped port can only be obtained after the container is started + at org.testcontainers.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:512) ~[testcontainers-1.19.7.jar:1.19.7] + at org.testcontainers.containers.ContainerState.getMappedPort(ContainerState.java:161) ~[testcontainers-1.19.7.jar:na] + at org.testcontainers.containers.MySQLContainer.getJdbcUrl(MySQLContainer.java:111) ~[mysql-1.19.7.jar:na] + at org.springframework.util.function.SupplierUtils.resolve(SupplierUtils.java:52) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.test.context.support.DynamicValuesPropertySource.getProperty(DynamicValuesPropertySource.java:44) ~[spring-test-6.1.6.jar:6.1.6] + at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:85) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver$DefaultResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:125) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.findPropertyValue(ConfigurationPropertySourcesPropertyResolver.java:99) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:75) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:61) ~[spring-boot-3.2.5.jar:3.2.5] + at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:552) ~[spring-core-6.1.6.jar:6.1.6] + at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseCondition.hasDataSourceUrlProperty(DataSourceAutoConfiguration.java:157) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseCondition.getMatchOutcome(DataSourceAutoConfiguration.java:140) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ~[spring-boot-autoconfigure-3.2.5.jar:3.2.5] + ... 96 common frames omitted + +2024-05-09T10:22:26.344+03:00 INFO 22828 --- [springJRproj] [Test worker] com.study.springjrproj.service.TaskServiceIT : Starting TaskServiceIT using Java 19.0.2 with PID 22828 (started by ���� in D:\springJRproj) +2024-05-09T10:22:26.348+03:00 INFO 22828 --- [springJRproj] [Test worker] com.study.springjrproj.service.TaskServiceIT : The following 1 profile is active: "test" +2024-05-09T10:22:28.041+03:00 INFO 22828 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T10:22:28.244+03:00 INFO 22828 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 178 ms. Found 2 JPA repository interfaces. +2024-05-09T10:22:29.364+03:00 INFO 22828 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T10:22:29.865+03:00 INFO 22828 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@5bccaedb +2024-05-09T10:22:29.869+03:00 INFO 22828 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T10:22:30.564+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T10:22:30.956+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T10:22:31.076+03:00 WARN 22828 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T10:22:31.264+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T10:22:31.270+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5239351269 +2024-05-09T10:22:31.277+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T10:22:31.544+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:22:31.549+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 201ms +2024-05-09T10:22:31.782+03:00 WARN 22828 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T10:22:31.783+03:00 WARN 22828 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T10:22:31.784+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:22:31.798+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 189ms +2024-05-09T10:22:31.846+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:22:31.856+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 30ms +2024-05-09T10:22:31.906+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:22:31.945+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 59ms +2024-05-09T10:22:31.972+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T10:22:31.973+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T10:22:31.973+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T10:22:31.973+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T10:22:31.973+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T10:22:31.974+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T10:22:31.975+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T10:22:31.979+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T10:22:32.000+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T10:22:32.004+03:00 INFO 22828 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T10:22:32.283+03:00 INFO 22828 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T10:22:32.451+03:00 INFO 22828 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T10:22:32.557+03:00 INFO 22828 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T10:22:33.147+03:00 INFO 22828 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T10:22:35.412+03:00 INFO 22828 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T10:22:35.853+03:00 INFO 22828 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T10:22:37.132+03:00 WARN 22828 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T10:22:38.158+03:00 INFO 22828 --- [springJRproj] [Test worker] com.study.springjrproj.service.TaskServiceIT : Started TaskServiceIT in 12.59 seconds (process running for 64.954) +2024-05-09T10:22:40.685+03:00 INFO 22828 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T10:22:40.691+03:00 INFO 22828 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T10:22:40.775+03:00 INFO 22828 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T10:23:54.700+03:00 INFO 24104 --- [springJRproj] [Test worker] com.study.springjrproj.service.TaskServiceIT : Starting TaskServiceIT using Java 19.0.2 with PID 24104 (started by ���� in D:\springJRproj) +2024-05-09T10:23:54.704+03:00 INFO 24104 --- [springJRproj] [Test worker] com.study.springjrproj.service.TaskServiceIT : The following 1 profile is active: "test" +2024-05-09T10:23:56.319+03:00 INFO 24104 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T10:23:56.479+03:00 INFO 24104 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 138 ms. Found 2 JPA repository interfaces. +2024-05-09T10:23:57.736+03:00 INFO 24104 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T10:23:59.551+03:00 INFO 24104 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@75f8d9b0 +2024-05-09T10:23:59.556+03:00 INFO 24104 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T10:24:00.145+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T10:24:00.463+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T10:24:00.644+03:00 WARN 24104 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T10:24:00.769+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T10:24:00.775+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5239440775 +2024-05-09T10:24:00.818+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T10:24:01.036+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:24:01.041+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 152ms +2024-05-09T10:24:01.245+03:00 WARN 24104 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T10:24:01.246+03:00 WARN 24104 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T10:24:01.247+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:24:01.252+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 164ms +2024-05-09T10:24:01.301+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:24:01.316+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 35ms +2024-05-09T10:24:01.363+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T10:24:01.402+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 59ms +2024-05-09T10:24:01.432+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T10:24:01.433+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T10:24:01.433+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T10:24:01.433+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T10:24:01.434+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T10:24:01.435+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T10:24:01.436+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T10:24:01.439+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T10:24:01.464+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T10:24:01.468+03:00 INFO 24104 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T10:24:01.687+03:00 INFO 24104 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T10:24:01.900+03:00 INFO 24104 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T10:24:01.988+03:00 INFO 24104 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T10:24:02.648+03:00 INFO 24104 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T10:24:05.013+03:00 INFO 24104 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T10:24:05.504+03:00 INFO 24104 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T10:24:06.637+03:00 WARN 24104 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T10:24:07.568+03:00 INFO 24104 --- [springJRproj] [Test worker] com.study.springjrproj.service.TaskServiceIT : Started TaskServiceIT in 13.713 seconds (process running for 54.847) +2024-05-09T10:24:09.904+03:00 INFO 24104 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T10:24:09.910+03:00 INFO 24104 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T10:24:10.254+03:00 INFO 24104 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T11:36:26.694+03:00 INFO 26064 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 26064 (started by ���� in D:\springJRproj) +2024-05-09T11:36:26.697+03:00 INFO 26064 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T11:36:27.708+03:00 INFO 26064 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T11:36:27.787+03:00 INFO 26064 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 67 ms. Found 2 JPA repository interfaces. +2024-05-09T11:36:28.448+03:00 INFO 26064 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T11:36:28.800+03:00 INFO 26064 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@299786b1 +2024-05-09T11:36:28.803+03:00 INFO 26064 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T11:36:29.203+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:36:29.464+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:36:29.563+03:00 WARN 26064 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:36:29.684+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T11:36:29.688+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5243789688 +2024-05-09T11:36:29.695+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:36:29.855+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:36:29.858+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 111ms +2024-05-09T11:36:29.982+03:00 WARN 26064 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:36:29.982+03:00 WARN 26064 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:36:29.982+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:36:29.985+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 99ms +2024-05-09T11:36:30.014+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:36:30.022+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 19ms +2024-05-09T11:36:30.055+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:36:30.062+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 26ms +2024-05-09T11:36:30.095+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T11:36:30.096+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T11:36:30.096+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T11:36:30.096+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T11:36:30.096+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T11:36:30.096+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T11:36:30.097+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T11:36:30.100+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T11:36:30.112+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T11:36:30.115+03:00 INFO 26064 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T11:36:30.240+03:00 INFO 26064 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T11:36:30.344+03:00 INFO 26064 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T11:36:30.403+03:00 INFO 26064 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T11:36:30.851+03:00 INFO 26064 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T11:36:32.132+03:00 INFO 26064 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T11:36:32.380+03:00 INFO 26064 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:36:33.141+03:00 WARN 26064 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T11:36:34.678+03:00 INFO 26064 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 8.465 seconds (process running for 42.097) +2024-05-09T11:37:24.151+03:00 WARN 26064 --- [springJRproj] [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=55s235ms866�s800ns). +2024-05-09T11:39:17.446+03:00 INFO 36628 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 36628 (started by ���� in D:\springJRproj) +2024-05-09T11:39:17.449+03:00 INFO 36628 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T11:39:18.501+03:00 INFO 36628 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T11:39:18.595+03:00 INFO 36628 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 79 ms. Found 2 JPA repository interfaces. +2024-05-09T11:39:19.176+03:00 INFO 36628 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T11:39:19.478+03:00 INFO 36628 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@76b642aa +2024-05-09T11:39:19.481+03:00 INFO 36628 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T11:39:19.888+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:39:20.109+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:39:20.181+03:00 WARN 36628 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:39:20.256+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T11:39:20.261+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5243960261 +2024-05-09T11:39:20.265+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:39:20.393+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:39:20.396+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 70ms +2024-05-09T11:39:20.469+03:00 WARN 36628 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:39:20.469+03:00 WARN 36628 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:39:20.469+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:39:20.472+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 54ms +2024-05-09T11:39:20.497+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:39:20.506+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 21ms +2024-05-09T11:39:20.535+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:39:20.543+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 22ms +2024-05-09T11:39:20.562+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T11:39:20.562+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T11:39:20.562+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T11:39:20.562+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T11:39:20.562+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T11:39:20.563+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T11:39:20.563+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T11:39:20.565+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T11:39:20.579+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T11:39:20.582+03:00 INFO 36628 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T11:39:20.716+03:00 INFO 36628 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T11:39:20.832+03:00 INFO 36628 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T11:39:20.896+03:00 INFO 36628 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T11:39:21.283+03:00 INFO 36628 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T11:39:22.569+03:00 INFO 36628 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T11:39:22.783+03:00 INFO 36628 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:39:23.380+03:00 WARN 36628 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T11:39:24.012+03:00 INFO 36628 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 7.11 seconds (process running for 32.406) +2024-05-09T11:39:30.266+03:00 INFO 36628 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T11:39:30.267+03:00 INFO 36628 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T11:39:30.270+03:00 INFO 36628 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 2 ms +2024-05-09T11:40:23.417+03:00 WARN 36628 --- [springJRproj] [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m3s834ms103�s700ns). +2024-05-09T11:40:24.526+03:00 INFO 36628 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T11:40:35.633+03:00 INFO 36628 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:40:35.638+03:00 INFO 36628 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T11:40:35.669+03:00 INFO 36628 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T11:41:44.261+03:00 INFO 37780 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 37780 (started by ���� in D:\springJRproj) +2024-05-09T11:41:44.263+03:00 INFO 37780 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T11:41:45.149+03:00 INFO 37780 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T11:41:45.241+03:00 INFO 37780 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 79 ms. Found 2 JPA repository interfaces. +2024-05-09T11:41:45.766+03:00 INFO 37780 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T11:41:46.065+03:00 INFO 37780 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@b4d83ac +2024-05-09T11:41:46.068+03:00 INFO 37780 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T11:41:46.439+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:41:46.630+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:41:46.705+03:00 WARN 37780 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:41:46.781+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T11:41:46.785+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5244106784 +2024-05-09T11:41:46.790+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:41:46.957+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:41:46.961+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 128ms +2024-05-09T11:41:47.042+03:00 WARN 37780 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:41:47.042+03:00 WARN 37780 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:41:47.042+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:41:47.044+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 60ms +2024-05-09T11:41:47.073+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:41:47.081+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 20ms +2024-05-09T11:41:47.112+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:41:47.124+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 24ms +2024-05-09T11:41:47.148+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T11:41:47.148+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T11:41:47.148+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T11:41:47.148+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T11:41:47.148+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T11:41:47.149+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T11:41:47.149+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T11:41:47.151+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T11:41:47.169+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T11:41:47.171+03:00 INFO 37780 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T11:41:47.283+03:00 INFO 37780 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T11:41:47.387+03:00 INFO 37780 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T11:41:47.439+03:00 INFO 37780 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T11:41:47.770+03:00 INFO 37780 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T11:41:48.852+03:00 INFO 37780 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T11:41:49.027+03:00 INFO 37780 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:41:49.553+03:00 WARN 37780 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T11:41:50.042+03:00 INFO 37780 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 6.284 seconds (process running for 31.458) +2024-05-09T11:41:50.070+03:00 INFO 37780 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T11:41:50.071+03:00 INFO 37780 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T11:41:50.072+03:00 INFO 37780 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms +2024-05-09T11:41:51.017+03:00 INFO 37780 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T11:41:51.128+03:00 INFO 37780 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:41:51.133+03:00 INFO 37780 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T11:41:51.187+03:00 INFO 37780 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T11:55:42.915+03:00 INFO 25940 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 25940 (started by ���� in D:\springJRproj) +2024-05-09T11:55:42.918+03:00 INFO 25940 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T11:55:43.904+03:00 INFO 25940 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T11:55:43.984+03:00 INFO 25940 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 68 ms. Found 2 JPA repository interfaces. +2024-05-09T11:55:44.549+03:00 INFO 25940 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T11:55:44.820+03:00 INFO 25940 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@299786b1 +2024-05-09T11:55:44.823+03:00 INFO 25940 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T11:55:45.168+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:55:45.396+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:55:45.483+03:00 WARN 25940 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:55:45.560+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T11:55:45.563+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5244945563 +2024-05-09T11:55:45.567+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T11:55:45.673+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:55:45.675+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 66ms +2024-05-09T11:55:45.754+03:00 WARN 25940 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:55:45.754+03:00 WARN 25940 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T11:55:45.754+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:55:45.756+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 60ms +2024-05-09T11:55:45.783+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:55:45.790+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 18ms +2024-05-09T11:55:45.820+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T11:55:45.828+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 20ms +2024-05-09T11:55:45.849+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T11:55:45.850+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T11:55:45.850+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T11:55:45.850+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T11:55:45.850+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T11:55:45.850+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T11:55:45.851+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T11:55:45.853+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T11:55:45.874+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T11:55:45.876+03:00 INFO 25940 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T11:55:46.006+03:00 INFO 25940 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T11:55:46.118+03:00 INFO 25940 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T11:55:46.182+03:00 INFO 25940 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T11:55:46.481+03:00 INFO 25940 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T11:55:47.623+03:00 INFO 25940 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T11:55:47.898+03:00 INFO 25940 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:55:48.560+03:00 WARN 25940 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T11:55:49.564+03:00 INFO 25940 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 6.746 seconds (process running for 46.421) +2024-05-09T11:55:49.594+03:00 INFO 25940 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T11:55:49.594+03:00 INFO 25940 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T11:55:49.595+03:00 INFO 25940 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms +2024-05-09T11:55:50.865+03:00 INFO 25940 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T11:55:50.987+03:00 INFO 25940 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T11:55:50.991+03:00 INFO 25940 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T11:55:51.026+03:00 INFO 25940 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T12:03:13.215+03:00 INFO 23856 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 23856 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) +2024-05-09T12:03:13.217+03:00 INFO 23856 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" +2024-05-09T12:03:14.005+03:00 INFO 23856 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:03:14.079+03:00 INFO 23856 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 62 ms. Found 2 JPA repository interfaces. +2024-05-09T12:03:14.686+03:00 INFO 23856 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) +2024-05-09T12:03:14.706+03:00 INFO 23856 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-05-09T12:03:14.706+03:00 INFO 23856 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +2024-05-09T12:03:14.902+03:00 INFO 23856 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. +2024-05-09T12:03:14.908+03:00 INFO 23856 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-05-09T12:03:14.909+03:00 INFO 23856 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1646 ms +2024-05-09T12:03:15.035+03:00 INFO 23856 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:03:15.601+03:00 INFO 23856 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@3e6748ae +2024-05-09T12:03:15.604+03:00 INFO 23856 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:03:16.210+03:00 INFO 23856 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:03:16.261+03:00 INFO 23856 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : UPDATE SUMMARY +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : Run: 0 +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : Previously run: 4 +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : Filtered out: 0 +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : ------------------------------- +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : Total change sets: 4 +2024-05-09T12:03:16.289+03:00 INFO 23856 --- [springJRproj] [main] liquibase.util : Update summary generated +2024-05-09T12:03:16.312+03:00 INFO 23856 --- [springJRproj] [main] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:03:16.314+03:00 INFO 23856 --- [springJRproj] [main] liquibase.command : Command execution complete +2024-05-09T12:03:16.399+03:00 INFO 23856 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:03:16.480+03:00 INFO 23856 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:03:16.530+03:00 INFO 23856 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:03:16.809+03:00 INFO 23856 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:03:17.810+03:00 INFO 23856 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:03:17.930+03:00 INFO 23856 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:03:18.296+03:00 WARN 23856 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:03:18.865+03:00 INFO 23856 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' +2024-05-09T12:03:18.875+03:00 INFO 23856 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 6.389 seconds (process running for 8.769) +2024-05-09T12:12:00.784+03:00 INFO 568 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 568 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) +2024-05-09T12:12:00.786+03:00 INFO 568 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" +2024-05-09T12:12:01.503+03:00 INFO 568 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:12:01.569+03:00 INFO 568 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 58 ms. Found 2 JPA repository interfaces. +2024-05-09T12:12:02.124+03:00 INFO 568 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) +2024-05-09T12:12:02.138+03:00 INFO 568 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-05-09T12:12:02.138+03:00 INFO 568 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +2024-05-09T12:12:02.327+03:00 INFO 568 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. +2024-05-09T12:12:02.333+03:00 INFO 568 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-05-09T12:12:02.333+03:00 INFO 568 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1499 ms +2024-05-09T12:12:02.463+03:00 INFO 568 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:12:02.909+03:00 INFO 568 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@2f15a964 +2024-05-09T12:12:02.912+03:00 INFO 568 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:12:03.362+03:00 INFO 568 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:12:03.409+03:00 INFO 568 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:12:03.439+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : UPDATE SUMMARY +2024-05-09T12:12:03.439+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : Run: 0 +2024-05-09T12:12:03.439+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : Previously run: 4 +2024-05-09T12:12:03.439+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : Filtered out: 0 +2024-05-09T12:12:03.439+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : ------------------------------- +2024-05-09T12:12:03.439+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : Total change sets: 4 +2024-05-09T12:12:03.440+03:00 INFO 568 --- [springJRproj] [main] liquibase.util : Update summary generated +2024-05-09T12:12:03.458+03:00 INFO 568 --- [springJRproj] [main] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:12:03.459+03:00 INFO 568 --- [springJRproj] [main] liquibase.command : Command execution complete +2024-05-09T12:12:03.542+03:00 INFO 568 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:12:03.626+03:00 INFO 568 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:12:03.679+03:00 INFO 568 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:12:03.959+03:00 INFO 568 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:12:04.914+03:00 INFO 568 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:12:04.991+03:00 INFO 568 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:12:05.391+03:00 WARN 568 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:12:05.843+03:00 INFO 568 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' +2024-05-09T12:12:05.852+03:00 INFO 568 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 5.592 seconds (process running for 6.904) +2024-05-09T12:12:25.272+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-09T12:12:25.273+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-05-09T12:12:25.275+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms +2024-05-09T12:12:25.620+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-1] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:12:28.462+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-2] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:12:29.111+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-5] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:12:29.947+03:00 INFO 568 --- [springJRproj] [http-nio-8090-exec-6] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:13:48.937+03:00 INFO 19340 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 19340 (started by ���� in D:\springJRproj) +2024-05-09T12:13:48.942+03:00 INFO 19340 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T12:13:50.006+03:00 INFO 19340 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:13:50.117+03:00 INFO 19340 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 95 ms. Found 2 JPA repository interfaces. +2024-05-09T12:13:50.998+03:00 INFO 19340 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:13:52.433+03:00 INFO 19340 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@39342614 +2024-05-09T12:13:52.437+03:00 INFO 19340 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:13:52.949+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:13:53.370+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:13:53.527+03:00 WARN 19340 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:13:53.776+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T12:13:53.781+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5246033780 +2024-05-09T12:13:53.786+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:13:54.006+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:13:54.010+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 117ms +2024-05-09T12:13:54.166+03:00 WARN 19340 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:13:54.167+03:00 WARN 19340 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:13:54.167+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:13:54.169+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 96ms +2024-05-09T12:13:54.230+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:13:54.241+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 27ms +2024-05-09T12:13:54.308+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:13:54.420+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 130ms +2024-05-09T12:13:54.516+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T12:13:54.517+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T12:13:54.518+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T12:13:54.518+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T12:13:54.518+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T12:13:54.518+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T12:13:54.519+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T12:13:54.522+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T12:13:54.539+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:13:54.542+03:00 INFO 19340 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T12:13:55.146+03:00 INFO 19340 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:13:55.287+03:00 INFO 19340 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:13:55.341+03:00 INFO 19340 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:13:55.655+03:00 INFO 19340 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:13:57.752+03:00 INFO 19340 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:13:58.034+03:00 INFO 19340 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:13:58.801+03:00 WARN 19340 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:13:59.351+03:00 INFO 19340 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 10.983 seconds (process running for 61.661) +2024-05-09T12:13:59.380+03:00 INFO 19340 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T12:13:59.381+03:00 INFO 19340 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T12:13:59.382+03:00 INFO 19340 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:14:00.578+03:00 INFO 19340 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:14:00.680+03:00 INFO 19340 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:14:00.685+03:00 INFO 19340 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T12:14:00.721+03:00 INFO 19340 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T12:21:45.162+03:00 INFO 14804 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 14804 (started by ���� in D:\springJRproj) +2024-05-09T12:21:45.166+03:00 INFO 14804 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T12:21:46.260+03:00 INFO 14804 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:21:46.372+03:00 INFO 14804 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 95 ms. Found 2 JPA repository interfaces. +2024-05-09T12:21:47.040+03:00 INFO 14804 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:21:47.355+03:00 INFO 14804 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@b4d83ac +2024-05-09T12:21:47.358+03:00 INFO 14804 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:21:50.416+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:21:50.611+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:21:50.711+03:00 WARN 14804 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:21:50.815+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T12:21:50.820+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5246510819 +2024-05-09T12:21:50.824+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:21:51.068+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:21:51.072+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 127ms +2024-05-09T12:21:51.182+03:00 WARN 14804 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:21:51.183+03:00 WARN 14804 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:21:51.183+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:21:51.185+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 92ms +2024-05-09T12:21:51.211+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:21:51.218+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 18ms +2024-05-09T12:21:51.244+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:21:51.265+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 32ms +2024-05-09T12:21:51.286+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T12:21:51.287+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T12:21:51.287+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T12:21:51.288+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T12:21:51.288+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T12:21:51.288+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T12:21:51.288+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T12:21:51.291+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T12:21:51.305+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:21:51.308+03:00 INFO 14804 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T12:21:51.485+03:00 INFO 14804 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:21:51.597+03:00 INFO 14804 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:21:51.705+03:00 INFO 14804 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:21:52.232+03:00 INFO 14804 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:21:55.485+03:00 INFO 14804 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:21:55.772+03:00 INFO 14804 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:21:56.660+03:00 WARN 14804 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:21:57.461+03:00 INFO 14804 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 12.769 seconds (process running for 43.315) +2024-05-09T12:21:57.496+03:00 INFO 14804 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T12:21:57.497+03:00 INFO 14804 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T12:21:57.498+03:00 INFO 14804 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:21:59.747+03:00 INFO 14804 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:21:59.856+03:00 INFO 14804 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:21:59.860+03:00 INFO 14804 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T12:21:59.897+03:00 INFO 14804 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T12:22:42.489+03:00 INFO 23660 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 23660 (started by ���� in D:\springJRproj) +2024-05-09T12:22:42.492+03:00 INFO 23660 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T12:22:43.600+03:00 INFO 23660 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:22:43.696+03:00 INFO 23660 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 83 ms. Found 2 JPA repository interfaces. +2024-05-09T12:22:44.392+03:00 INFO 23660 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:22:44.729+03:00 INFO 23660 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@79273a4f +2024-05-09T12:22:44.732+03:00 INFO 23660 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:22:45.139+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:22:45.337+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:22:45.428+03:00 WARN 23660 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:22:45.515+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T12:22:45.518+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5246565518 +2024-05-09T12:22:45.523+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:22:45.634+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:22:45.638+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 62ms +2024-05-09T12:22:45.716+03:00 WARN 23660 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:22:45.717+03:00 WARN 23660 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:22:45.717+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:22:45.719+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 60ms +2024-05-09T12:22:45.747+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:22:45.754+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 19ms +2024-05-09T12:22:45.782+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:22:45.789+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 18ms +2024-05-09T12:22:45.806+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T12:22:45.807+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T12:22:45.807+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T12:22:45.807+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T12:22:45.807+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T12:22:45.807+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T12:22:45.807+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T12:22:45.809+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T12:22:45.824+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:22:45.826+03:00 INFO 23660 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T12:22:45.956+03:00 INFO 23660 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:22:46.055+03:00 INFO 23660 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:22:46.110+03:00 INFO 23660 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:22:46.464+03:00 INFO 23660 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:22:47.605+03:00 INFO 23660 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:22:47.780+03:00 INFO 23660 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:22:48.529+03:00 WARN 23660 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:22:49.138+03:00 INFO 23660 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 7.18 seconds (process running for 31.017) +2024-05-09T12:22:49.171+03:00 INFO 23660 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T12:22:49.171+03:00 INFO 23660 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T12:22:49.172+03:00 INFO 23660 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:22:50.159+03:00 INFO 23660 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:22:50.249+03:00 INFO 23660 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:22:50.253+03:00 INFO 23660 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T12:22:50.285+03:00 INFO 23660 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. +2024-05-09T12:23:56.746+03:00 INFO 27220 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Starting TaskControllerIT using Java 19.0.2 with PID 27220 (started by ���� in D:\springJRproj) +2024-05-09T12:23:56.750+03:00 INFO 27220 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : The following 1 profile is active: "test" +2024-05-09T12:23:57.850+03:00 INFO 27220 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:23:57.965+03:00 INFO 27220 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 97 ms. Found 2 JPA repository interfaces. +2024-05-09T12:23:58.597+03:00 INFO 27220 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:23:58.937+03:00 INFO 27220 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@13d10057 +2024-05-09T12:23:58.940+03:00 INFO 27220 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:23:59.388+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:23:59.679+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:24:00.157+03:00 WARN 27220 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:24:00.233+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T12:24:00.237+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5246640236 +2024-05-09T12:24:00.241+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T12:24:00.417+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:24:00.421+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 133ms +2024-05-09T12:24:00.601+03:00 WARN 27220 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:24:00.602+03:00 WARN 27220 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T12:24:00.602+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:24:00.604+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 157ms +2024-05-09T12:24:00.635+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:24:00.653+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 29ms +2024-05-09T12:24:00.705+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T12:24:00.714+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 46ms +2024-05-09T12:24:00.732+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T12:24:00.732+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T12:24:00.733+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T12:24:00.733+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T12:24:00.733+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T12:24:00.733+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T12:24:00.733+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T12:24:00.735+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T12:24:00.750+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:24:00.752+03:00 INFO 27220 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T12:24:00.886+03:00 INFO 27220 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:24:00.978+03:00 INFO 27220 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:24:01.035+03:00 INFO 27220 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:24:01.422+03:00 INFO 27220 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:24:02.720+03:00 INFO 27220 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:24:02.934+03:00 INFO 27220 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:24:05.035+03:00 WARN 27220 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:24:05.676+03:00 INFO 27220 --- [springJRproj] [Test worker] c.s.s.controller.TaskControllerIT : Started TaskControllerIT in 9.442 seconds (process running for 38.074) +2024-05-09T12:24:05.704+03:00 INFO 27220 --- [springJRproj] [Test worker] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' +2024-05-09T12:24:05.705+03:00 INFO 27220 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' +2024-05-09T12:24:05.706+03:00 INFO 27220 --- [springJRproj] [Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:24:06.827+03:00 INFO 27220 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:27:35.394+03:00 INFO 21820 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 21820 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) +2024-05-09T12:27:35.395+03:00 INFO 21820 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" +2024-05-09T12:27:36.025+03:00 INFO 21820 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:27:36.082+03:00 INFO 21820 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 49 ms. Found 2 JPA repository interfaces. +2024-05-09T12:27:36.624+03:00 INFO 21820 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) +2024-05-09T12:27:36.637+03:00 INFO 21820 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-05-09T12:27:36.637+03:00 INFO 21820 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +2024-05-09T12:27:36.805+03:00 INFO 21820 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. +2024-05-09T12:27:36.810+03:00 INFO 21820 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-05-09T12:27:36.810+03:00 INFO 21820 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1369 ms +2024-05-09T12:27:36.942+03:00 INFO 21820 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:27:37.412+03:00 INFO 21820 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@3e6748ae +2024-05-09T12:27:37.415+03:00 INFO 21820 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:27:37.934+03:00 INFO 21820 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:27:37.979+03:00 INFO 21820 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:27:38.000+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : UPDATE SUMMARY +2024-05-09T12:27:38.001+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : Run: 0 +2024-05-09T12:27:38.001+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : Previously run: 4 +2024-05-09T12:27:38.001+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : Filtered out: 0 +2024-05-09T12:27:38.001+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : ------------------------------- +2024-05-09T12:27:38.001+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : Total change sets: 4 +2024-05-09T12:27:38.001+03:00 INFO 21820 --- [springJRproj] [main] liquibase.util : Update summary generated +2024-05-09T12:27:38.021+03:00 INFO 21820 --- [springJRproj] [main] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:27:38.023+03:00 INFO 21820 --- [springJRproj] [main] liquibase.command : Command execution complete +2024-05-09T12:27:38.110+03:00 INFO 21820 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:27:38.198+03:00 INFO 21820 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:27:38.245+03:00 INFO 21820 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:27:38.527+03:00 INFO 21820 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:27:39.481+03:00 INFO 21820 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:27:39.568+03:00 INFO 21820 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:27:39.959+03:00 WARN 21820 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:27:40.375+03:00 INFO 21820 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' +2024-05-09T12:27:40.383+03:00 INFO 21820 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 5.508 seconds (process running for 6.205) +2024-05-09T12:27:47.327+03:00 INFO 21820 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-09T12:27:47.327+03:00 INFO 21820 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-05-09T12:27:47.328+03:00 INFO 21820 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:27:47.536+03:00 INFO 21820 --- [springJRproj] [http-nio-8090-exec-1] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:27:47.568+03:00 ERROR 21820 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalStateException: ApplicationObjectSupport instance [org.thymeleaf.spring6.view.ThymeleafView@5212ee17] does not run in an ApplicationContext] with root cause + +java.lang.IllegalStateException: ApplicationObjectSupport instance [org.thymeleaf.spring6.view.ThymeleafView@5212ee17] does not run in an ApplicationContext + at org.springframework.context.support.ApplicationObjectSupport.getApplicationContext(ApplicationObjectSupport.java:146) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.web.context.support.WebApplicationObjectSupport.getWebApplicationContext(WebApplicationObjectSupport.java:110) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.context.support.WebApplicationObjectSupport.getServletContext(WebApplicationObjectSupport.java:134) ~[spring-web-6.1.6.jar:6.1.6] + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:201) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE] + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE] + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[spring-webmvc-6.1.6.jar:6.1.6] + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) ~[tomcat-embed-core-10.1.20.jar:6.0] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.6.jar:6.1.6] + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[tomcat-embed-core-10.1.20.jar:6.0] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[tomcat-embed-websocket-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at java.base/java.lang.Thread.run(Thread.java:1589) ~[na:na] + +2024-05-09T12:28:38.051+03:00 INFO 13504 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 13504 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) +2024-05-09T12:28:38.053+03:00 INFO 13504 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" +2024-05-09T12:28:38.800+03:00 INFO 13504 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:28:38.872+03:00 INFO 13504 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 62 ms. Found 2 JPA repository interfaces. +2024-05-09T12:28:39.475+03:00 INFO 13504 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) +2024-05-09T12:28:39.490+03:00 INFO 13504 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-05-09T12:28:39.490+03:00 INFO 13504 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +2024-05-09T12:28:39.704+03:00 INFO 13504 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. +2024-05-09T12:28:39.711+03:00 INFO 13504 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-05-09T12:28:39.711+03:00 INFO 13504 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1608 ms +2024-05-09T12:28:39.856+03:00 INFO 13504 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:28:40.276+03:00 INFO 13504 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@49b89425 +2024-05-09T12:28:40.279+03:00 INFO 13504 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:28:40.727+03:00 INFO 13504 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:28:40.769+03:00 INFO 13504 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : UPDATE SUMMARY +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : Run: 0 +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : Previously run: 4 +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : Filtered out: 0 +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : ------------------------------- +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : Total change sets: 4 +2024-05-09T12:28:40.794+03:00 INFO 13504 --- [springJRproj] [main] liquibase.util : Update summary generated +2024-05-09T12:28:40.813+03:00 INFO 13504 --- [springJRproj] [main] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:28:40.815+03:00 INFO 13504 --- [springJRproj] [main] liquibase.command : Command execution complete +2024-05-09T12:28:40.901+03:00 INFO 13504 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:28:41.000+03:00 INFO 13504 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:28:41.051+03:00 INFO 13504 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:28:41.364+03:00 INFO 13504 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:28:42.417+03:00 INFO 13504 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:28:42.490+03:00 INFO 13504 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:28:42.920+03:00 WARN 13504 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:28:43.339+03:00 INFO 13504 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' +2024-05-09T12:28:43.348+03:00 INFO 13504 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 5.856 seconds (process running for 7.139) +2024-05-09T12:28:48.731+03:00 INFO 13504 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-09T12:28:48.731+03:00 INFO 13504 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-05-09T12:28:48.732+03:00 INFO 13504 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:28:48.973+03:00 INFO 13504 --- [springJRproj] [http-nio-8090-exec-1] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:29:25.963+03:00 ERROR 13504 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalStateException: ApplicationObjectSupport instance [org.thymeleaf.spring6.view.ThymeleafView@12d54379] does not run in an ApplicationContext] with root cause + +java.lang.IllegalStateException: ApplicationObjectSupport instance [org.thymeleaf.spring6.view.ThymeleafView@12d54379] does not run in an ApplicationContext + at org.springframework.context.support.ApplicationObjectSupport.getApplicationContext(ApplicationObjectSupport.java:146) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.web.context.support.WebApplicationObjectSupport.getWebApplicationContext(WebApplicationObjectSupport.java:110) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.context.support.WebApplicationObjectSupport.getServletContext(WebApplicationObjectSupport.java:134) ~[spring-web-6.1.6.jar:6.1.6] + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:201) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE] + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE] + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[spring-webmvc-6.1.6.jar:6.1.6] + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) ~[tomcat-embed-core-10.1.20.jar:6.0] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.6.jar:6.1.6] + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[tomcat-embed-core-10.1.20.jar:6.0] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[tomcat-embed-websocket-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at java.base/java.lang.Thread.run(Thread.java:1589) ~[na:na] + +2024-05-09T12:30:41.751+03:00 INFO 10668 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 10668 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) +2024-05-09T12:30:41.754+03:00 INFO 10668 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" +2024-05-09T12:30:42.461+03:00 INFO 10668 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:30:42.525+03:00 INFO 10668 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 55 ms. Found 2 JPA repository interfaces. +2024-05-09T12:30:43.070+03:00 INFO 10668 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) +2024-05-09T12:30:43.083+03:00 INFO 10668 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-05-09T12:30:43.084+03:00 INFO 10668 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +2024-05-09T12:30:43.280+03:00 INFO 10668 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. +2024-05-09T12:30:43.292+03:00 INFO 10668 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-05-09T12:30:43.292+03:00 INFO 10668 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1493 ms +2024-05-09T12:30:43.452+03:00 INFO 10668 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:30:43.834+03:00 INFO 10668 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@7c9beb51 +2024-05-09T12:30:43.836+03:00 INFO 10668 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:30:44.256+03:00 INFO 10668 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:30:44.298+03:00 INFO 10668 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:30:44.319+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : UPDATE SUMMARY +2024-05-09T12:30:44.319+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : Run: 0 +2024-05-09T12:30:44.319+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : Previously run: 4 +2024-05-09T12:30:44.319+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : Filtered out: 0 +2024-05-09T12:30:44.320+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : ------------------------------- +2024-05-09T12:30:44.320+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : Total change sets: 4 +2024-05-09T12:30:44.320+03:00 INFO 10668 --- [springJRproj] [main] liquibase.util : Update summary generated +2024-05-09T12:30:44.337+03:00 INFO 10668 --- [springJRproj] [main] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:30:44.339+03:00 INFO 10668 --- [springJRproj] [main] liquibase.command : Command execution complete +2024-05-09T12:30:44.421+03:00 INFO 10668 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:30:44.508+03:00 INFO 10668 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:30:44.574+03:00 INFO 10668 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:30:44.841+03:00 INFO 10668 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:30:45.772+03:00 INFO 10668 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:30:45.832+03:00 INFO 10668 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:30:46.228+03:00 WARN 10668 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:30:46.613+03:00 INFO 10668 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' +2024-05-09T12:30:46.621+03:00 INFO 10668 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 5.41 seconds (process running for 6.26) +2024-05-09T12:30:53.169+03:00 INFO 10668 --- [springJRproj] [http-nio-8090-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-09T12:30:53.170+03:00 INFO 10668 --- [springJRproj] [http-nio-8090-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-05-09T12:30:53.171+03:00 INFO 10668 --- [springJRproj] [http-nio-8090-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +2024-05-09T12:30:53.374+03:00 INFO 10668 --- [springJRproj] [http-nio-8090-exec-2] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T12:30:53.409+03:00 ERROR 10668 --- [springJRproj] [http-nio-8090-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalStateException: ApplicationObjectSupport instance [org.thymeleaf.spring6.view.ThymeleafView@5212ee17] does not run in an ApplicationContext] with root cause + +java.lang.IllegalStateException: ApplicationObjectSupport instance [org.thymeleaf.spring6.view.ThymeleafView@5212ee17] does not run in an ApplicationContext + at org.springframework.context.support.ApplicationObjectSupport.getApplicationContext(ApplicationObjectSupport.java:146) ~[spring-context-6.1.6.jar:6.1.6] + at org.springframework.web.context.support.WebApplicationObjectSupport.getWebApplicationContext(WebApplicationObjectSupport.java:110) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.context.support.WebApplicationObjectSupport.getServletContext(WebApplicationObjectSupport.java:134) ~[spring-web-6.1.6.jar:6.1.6] + at org.thymeleaf.spring6.view.ThymeleafView.renderFragment(ThymeleafView.java:201) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE] + at org.thymeleaf.spring6.view.ThymeleafView.render(ThymeleafView.java:192) ~[thymeleaf-spring6-3.1.2.RELEASE.jar:3.1.2.RELEASE] + at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.6.jar:6.1.6] + at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[spring-webmvc-6.1.6.jar:6.1.6] + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) ~[tomcat-embed-core-10.1.20.jar:6.0] + at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.6.jar:6.1.6] + at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[tomcat-embed-core-10.1.20.jar:6.0] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:206) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[tomcat-embed-websocket-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.6.jar:6.1.6] + at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6] + at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.20.jar:10.1.20] + at java.base/java.lang.Thread.run(Thread.java:1589) ~[na:na] + +2024-05-09T12:31:56.584+03:00 INFO 2960 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Starting SpringJRProjApplication using Java 19.0.2 with PID 2960 (D:\springJRproj\build\classes\java\main started by Вова in D:\springJRproj) +2024-05-09T12:31:56.586+03:00 INFO 2960 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : The following 1 profile is active: "qa" +2024-05-09T12:31:57.283+03:00 INFO 2960 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T12:31:57.349+03:00 INFO 2960 --- [springJRproj] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 57 ms. Found 2 JPA repository interfaces. +2024-05-09T12:31:57.880+03:00 INFO 2960 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8090 (http) +2024-05-09T12:31:57.893+03:00 INFO 2960 --- [springJRproj] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-05-09T12:31:57.893+03:00 INFO 2960 --- [springJRproj] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +2024-05-09T12:31:58.065+03:00 INFO 2960 --- [springJRproj] [main] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. +2024-05-09T12:31:58.070+03:00 INFO 2960 --- [springJRproj] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-05-09T12:31:58.070+03:00 INFO 2960 --- [springJRproj] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1430 ms +2024-05-09T12:31:58.218+03:00 INFO 2960 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T12:31:58.561+03:00 INFO 2960 --- [springJRproj] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@4c24f3a2 +2024-05-09T12:31:58.564+03:00 INFO 2960 --- [springJRproj] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T12:31:58.963+03:00 INFO 2960 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:31:59.003+03:00 INFO 2960 --- [springJRproj] [main] liquibase.changelog : Reading from todo.databasechangelog +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : UPDATE SUMMARY +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : Run: 0 +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : Previously run: 4 +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : Filtered out: 0 +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : ------------------------------- +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : Total change sets: 4 +2024-05-09T12:31:59.025+03:00 INFO 2960 --- [springJRproj] [main] liquibase.util : Update summary generated +2024-05-09T12:31:59.042+03:00 INFO 2960 --- [springJRproj] [main] liquibase.lockservice : Successfully released change log lock +2024-05-09T12:31:59.044+03:00 INFO 2960 --- [springJRproj] [main] liquibase.command : Command execution complete +2024-05-09T12:31:59.131+03:00 INFO 2960 --- [springJRproj] [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T12:31:59.216+03:00 INFO 2960 --- [springJRproj] [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T12:31:59.268+03:00 INFO 2960 --- [springJRproj] [main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T12:31:59.564+03:00 INFO 2960 --- [springJRproj] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T12:32:00.512+03:00 INFO 2960 --- [springJRproj] [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T12:32:00.572+03:00 INFO 2960 --- [springJRproj] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T12:32:00.965+03:00 WARN 2960 --- [springJRproj] [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T12:32:01.342+03:00 INFO 2960 --- [springJRproj] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8090 (http) with context path '' +2024-05-09T12:32:01.350+03:00 INFO 2960 --- [springJRproj] [main] c.s.s.SpringJRProjApplication : Started SpringJRProjApplication in 5.508 seconds (process running for 6.752) +2024-05-09T12:32:24.948+03:00 INFO 2960 --- [springJRproj] [http-nio-8090-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-09T12:32:24.949+03:00 INFO 2960 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +2024-05-09T12:32:24.950+03:00 INFO 2960 --- [springJRproj] [http-nio-8090-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +2024-05-09T12:32:25.161+03:00 INFO 2960 --- [springJRproj] [http-nio-8090-exec-1] c.s.springjrproj.service.TaskService : Received 5 tasks on the page +2024-05-09T13:09:28.350+03:00 INFO 36456 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskServiceIT : Starting TaskServiceIT using Java 19.0.2 with PID 36456 (started by Âîâà in D:\springJRproj) +2024-05-09T13:09:28.353+03:00 INFO 36456 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskServiceIT : The following 1 profile is active: "qa" +2024-05-09T13:09:29.235+03:00 INFO 36456 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. +2024-05-09T13:09:29.312+03:00 INFO 36456 --- [springJRproj] [Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 65 ms. Found 1 JPA repository interface. +2024-05-09T13:09:29.868+03:00 INFO 36456 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... +2024-05-09T13:09:30.131+03:00 INFO 36456 --- [springJRproj] [Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@527d5e48 +2024-05-09T13:09:30.134+03:00 INFO 36456 --- [springJRproj] [Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. +2024-05-09T13:09:30.490+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Creating database history table with name: `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T13:09:30.688+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T13:09:30.756+03:00 WARN 36456 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T13:09:30.830+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully acquired change log lock +2024-05-09T13:09:30.833+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.command : Using deploymentId: 5249370833 +2024-05-09T13:09:30.838+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Reading from `jdbc:mysql://localhost:3306/todo`.DATABASECHANGELOG +2024-05-09T13:09:30.944+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T13:09:30.948+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::1::Volodymyr Malyniak ran successfully in 68ms +2024-05-09T13:09:31.038+03:00 WARN 36456 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T13:09:31.039+03:00 WARN 36456 --- [springJRproj] [Test worker] liquibase.executor : Integer display width is deprecated and will be removed in a future release. +2024-05-09T13:09:31.040+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T13:09:31.043+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-1.0.sql::2::Volodymyr Malyniak ran successfully in 71ms +2024-05-09T13:09:31.075+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T13:09:31.089+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::1::Volodymyr Malyniak ran successfully in 27ms +2024-05-09T13:09:31.120+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : Custom SQL executed +2024-05-09T13:09:31.129+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.changelog : ChangeSet db/changelog/db.changelog-2.0.sql::2::Volodymyr Malyniak ran successfully in 24ms +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : UPDATE SUMMARY +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : Run: 4 +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : Previously run: 0 +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : Filtered out: 0 +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : ------------------------------- +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : Total change sets: 4 +2024-05-09T13:09:31.147+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.util : Update summary generated +2024-05-09T13:09:31.150+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.command : Update command completed successfully. +2024-05-09T13:09:31.163+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.lockservice : Successfully released change log lock +2024-05-09T13:09:31.165+03:00 INFO 36456 --- [springJRproj] [Test worker] liquibase.command : Command execution complete +2024-05-09T13:09:31.281+03:00 INFO 36456 --- [springJRproj] [Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] +2024-05-09T13:09:31.372+03:00 INFO 36456 --- [springJRproj] [Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final +2024-05-09T13:09:31.421+03:00 INFO 36456 --- [springJRproj] [Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled +2024-05-09T13:09:31.752+03:00 INFO 36456 --- [springJRproj] [Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer +2024-05-09T13:09:32.787+03:00 INFO 36456 --- [springJRproj] [Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) +2024-05-09T13:09:32.970+03:00 INFO 36456 --- [springJRproj] [Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T13:09:33.535+03:00 WARN 36456 --- [springJRproj] [Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning +2024-05-09T13:09:33.993+03:00 INFO 36456 --- [springJRproj] [Test worker] c.s.springjrproj.service.TaskServiceIT : Started TaskServiceIT in 6.09 seconds (process running for 35.137) +2024-05-09T13:09:35.252+03:00 INFO 36456 --- [springJRproj] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' +2024-05-09T13:09:35.255+03:00 INFO 36456 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... +2024-05-09T13:09:35.281+03:00 INFO 36456 --- [springJRproj] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. diff --git a/src/lombok.config b/src/lombok.config new file mode 100644 index 0000000..522495a --- /dev/null +++ b/src/lombok.config @@ -0,0 +1,3 @@ +config.stopbubbling=true +lombok.copyableannotations += org.springframework.beans.factory.annotation.Value +lombok.copyableannotations += org.springframework.beans.factory.annotation.Qualifier \ No newline at end of file diff --git a/src/main/java/com/study/springjrproj/config/AppConfig.java b/src/main/java/com/study/springjrproj/config/AppConfig.java index a638fb7..4fd6607 100644 --- a/src/main/java/com/study/springjrproj/config/AppConfig.java +++ b/src/main/java/com/study/springjrproj/config/AppConfig.java @@ -1,26 +1,17 @@ package com.study.springjrproj.config; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.beans.factory.config.BeanDefinition; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.*; -import org.springframework.context.annotation.ComponentScan.Filter; -import org.springframework.stereotype.Component; +import com.study.springjrproj.repository.TaskRepository; +import org.modelmapper.ModelMapper; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.data.domain.Pageable; @Configuration -//@PropertySource("classpath:application.yaml") -//@ComponentScan(basePackages = "org.example", -// resourcePattern = "**/*.class", -// useDefaultFilters = false, -// includeFilters = { -// @Filter(type = FilterType.ANNOTATION, -// value = Component.class), -// @Filter(type = FilterType.ASSIGNABLE_TYPE, -// value = CompanyRepository.class), -// @Filter(type = FilterType.REGEX, -// pattern = "org\\..Repository"), -// } -//) + public class AppConfig { + @Bean + public ModelMapper getModelMapper() { + return new ModelMapper(); + } } diff --git a/src/main/java/com/study/springjrproj/config/WebConfig.java b/src/main/java/com/study/springjrproj/config/WebConfig.java new file mode 100644 index 0000000..7ba262d --- /dev/null +++ b/src/main/java/com/study/springjrproj/config/WebConfig.java @@ -0,0 +1,45 @@ +package com.study.springjrproj.config; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.ViewResolver; +import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; +import org.thymeleaf.spring6.ISpringTemplateEngine; +import org.thymeleaf.spring6.SpringTemplateEngine; +import org.thymeleaf.spring6.templateresolver.SpringResourceTemplateResolver; +import org.thymeleaf.spring6.view.ThymeleafViewResolver; +import org.thymeleaf.templatemode.TemplateMode; +import org.thymeleaf.templateresolver.ITemplateResolver; + +@Configuration +public class WebConfig implements WebMvcConfigurer { + + @Override + public void addViewControllers(ViewControllerRegistry registry) { + registry.addViewController("/tasks").setViewName("tasks"); + } + + @Bean + public ViewResolver viewResolver() { + ThymeleafViewResolver resolver = new ThymeleafViewResolver(); + resolver.setTemplateEngine(templateEngine()); + resolver.setCharacterEncoding("UTF-8"); + return resolver; + } + + private ISpringTemplateEngine templateEngine() { + SpringTemplateEngine engine = new SpringTemplateEngine(); + engine.setTemplateResolver(templateResolver()); + return engine; + } + + private ITemplateResolver templateResolver() { + SpringResourceTemplateResolver resolver = new SpringResourceTemplateResolver(); + resolver.setPrefix("/templates/"); + resolver.setSuffix(".html"); + resolver.setTemplateMode(TemplateMode.HTML); + resolver.setCharacterEncoding("UTF-8"); + return resolver; + } +} diff --git a/src/main/java/com/study/springjrproj/controller/TaskController.java b/src/main/java/com/study/springjrproj/controller/TaskController.java index 84bf0ec..5edb7c9 100644 --- a/src/main/java/com/study/springjrproj/controller/TaskController.java +++ b/src/main/java/com/study/springjrproj/controller/TaskController.java @@ -1,25 +1,76 @@ package com.study.springjrproj.controller; -import com.study.springjrproj.repository.TaskRepository; +import com.study.springjrproj.dto.CreateTaskDto; +import com.study.springjrproj.dto.TaskDto; +import com.study.springjrproj.exception.TaskNotFoundException; +import com.study.springjrproj.service.TaskService; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.data.domain.PageRequest; +import org.springframework.data.domain.Pageable; +import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.servlet.ModelAndView; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.server.ResponseStatusException; @Controller @RequiredArgsConstructor - +@RequestMapping("/tasks") +@Slf4j public class TaskController { - private final TaskRepository taskRepository; + private final TaskService taskService; - @RequestMapping(method = RequestMethod.GET, value = "tasks") - public String hello() { - var modelAndView = new ModelAndView(); - var tasks = taskRepository.findAll(); - modelAndView.addObject("tasks", tasks); - modelAndView.setViewName("tasks"); + @RequestMapping(method = RequestMethod.GET) + public String getAllTasks(Model model, + @RequestParam(defaultValue = "0", required = false) int page, + @RequestParam(defaultValue = "5", required = false) int size) { + Pageable pageable = PageRequest.of(page, size); + var tasksPerPage = taskService.findAllBy(pageable); + model.addAttribute("tasksPerPage", tasksPerPage); + log.trace("Added attribute - tasksPerPage"); return "tasks"; } + + @RequestMapping(method = RequestMethod.POST, value = "/edit/{id}") + public String edit(@PathVariable Integer id, @ModelAttribute TaskDto taskToUpdate) { + taskService.update(taskToUpdate); + log.info("Updated task"); + return "redirect:/tasks"; + } + + @RequestMapping(method = RequestMethod.GET, value = "/edit/{id}") + public String editForm(@PathVariable Integer id, Model model) { + try { + var taskDto = taskService.findById(id); + model.addAttribute("task", taskDto.get()); + log.trace("Added attribute - task"); + return "edit"; + } catch (TaskNotFoundException e) { + log.warn("Task not found"); + throw new ResponseStatusException(HttpStatus.NOT_FOUND); + } + } + @PostMapping("/delete/{id}") + public String delete(@PathVariable Integer id) { + try { + taskService.deleteById(id); + log.info("Task was deleted"); + return "redirect:/tasks"; + } catch (TaskNotFoundException e) { + throw new ResponseStatusException(HttpStatus.NOT_FOUND); + } + } + @GetMapping("/create") + public String createForm(Model model) { + model.addAttribute("task", new TaskDto()); + log.trace("Added attribute - task"); + return "create"; + } + @PostMapping("/create") + public String createForm(@ModelAttribute("task") CreateTaskDto taskDto) { + taskService.save(taskDto); + return "redirect:/tasks"; + } } diff --git a/src/main/java/com/study/springjrproj/domain/Task.java b/src/main/java/com/study/springjrproj/domain/Task.java index ceaaa61..fba3744 100644 --- a/src/main/java/com/study/springjrproj/domain/Task.java +++ b/src/main/java/com/study/springjrproj/domain/Task.java @@ -16,4 +16,7 @@ public class Task { @Column(nullable = false) private String description; private Status status; + @ManyToOne + @JoinColumn(name = "user_id") + private Users user; } diff --git a/src/main/java/com/study/springjrproj/domain/Users.java b/src/main/java/com/study/springjrproj/domain/Users.java new file mode 100644 index 0000000..2974145 --- /dev/null +++ b/src/main/java/com/study/springjrproj/domain/Users.java @@ -0,0 +1,24 @@ +package com.study.springjrproj.domain; + +import jakarta.persistence.*; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDate; + +@Entity +@Data +@AllArgsConstructor +@NoArgsConstructor +public class Users { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Integer id; + @Column(unique = true) + private String username; + @Column(unique = true) + private String email; + @Column(name = "birth_date") + private LocalDate birthDate; +} diff --git a/src/main/java/com/study/springjrproj/dto/CreateTaskDto.java b/src/main/java/com/study/springjrproj/dto/CreateTaskDto.java new file mode 100644 index 0000000..d2c1b49 --- /dev/null +++ b/src/main/java/com/study/springjrproj/dto/CreateTaskDto.java @@ -0,0 +1,11 @@ +package com.study.springjrproj.dto; + +import com.study.springjrproj.domain.Status; +import lombok.Value; + +@Value +public class CreateTaskDto { + String description; + Status status; + +} diff --git a/src/main/java/com/study/springjrproj/dto/TaskDto.java b/src/main/java/com/study/springjrproj/dto/TaskDto.java new file mode 100644 index 0000000..9f93d93 --- /dev/null +++ b/src/main/java/com/study/springjrproj/dto/TaskDto.java @@ -0,0 +1,15 @@ +package com.study.springjrproj.dto; + +import com.study.springjrproj.domain.Status; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@NoArgsConstructor +@AllArgsConstructor +public class TaskDto { + private int id; + private String description; + private Status status; +} diff --git a/src/main/java/com/study/springjrproj/dto/UserDto.java b/src/main/java/com/study/springjrproj/dto/UserDto.java new file mode 100644 index 0000000..b89755c --- /dev/null +++ b/src/main/java/com/study/springjrproj/dto/UserDto.java @@ -0,0 +1,10 @@ +package com.study.springjrproj.dto; + +import java.time.LocalDate; + +public class UserDto { + private int id; + private String username; + private String email; + private LocalDate birthDate; +} diff --git a/src/main/java/com/study/springjrproj/exception/TaskNotFoundException.java b/src/main/java/com/study/springjrproj/exception/TaskNotFoundException.java new file mode 100644 index 0000000..caff9c4 --- /dev/null +++ b/src/main/java/com/study/springjrproj/exception/TaskNotFoundException.java @@ -0,0 +1,7 @@ +package com.study.springjrproj.exception; + +public class TaskNotFoundException extends RuntimeException { + public TaskNotFoundException(String message) { + super(message); + } +} diff --git a/src/main/java/com/study/springjrproj/repository/TaskRepository.java b/src/main/java/com/study/springjrproj/repository/TaskRepository.java index 02874da..b79c665 100644 --- a/src/main/java/com/study/springjrproj/repository/TaskRepository.java +++ b/src/main/java/com/study/springjrproj/repository/TaskRepository.java @@ -1,18 +1,13 @@ package com.study.springjrproj.repository; -import com.study.springjrproj.domain.Status; import com.study.springjrproj.domain.Task; +import com.study.springjrproj.dto.TaskDto; +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; @Repository public interface TaskRepository extends JpaRepository { - - @Query(value = "update Task t set t.status = :description") - Task updateBy(String description); - - @Query(value = "update Task t set t.status = :status") - Task updateBy(Status status); - + Page findAllBy(Pageable pageable); } diff --git a/src/main/java/com/study/springjrproj/service/TaskService.java b/src/main/java/com/study/springjrproj/service/TaskService.java new file mode 100644 index 0000000..91926c2 --- /dev/null +++ b/src/main/java/com/study/springjrproj/service/TaskService.java @@ -0,0 +1,72 @@ +package com.study.springjrproj.service; + +import com.study.springjrproj.domain.Task; +import com.study.springjrproj.dto.CreateTaskDto; +import com.study.springjrproj.dto.TaskDto; +import com.study.springjrproj.exception.TaskNotFoundException; +import com.study.springjrproj.repository.TaskRepository; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.modelmapper.ModelMapper; +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; +import java.util.Optional; +import java.util.stream.Collectors; + +@Service +@RequiredArgsConstructor +@Transactional +@Slf4j +public class TaskService { + private final TaskRepository taskRepository; + private final ModelMapper mapper; + + public List findAll() { + var tasks = taskRepository.findAll(); + log.info("Received {} tasks", tasks.size()); + var taskDtoStream = tasks.stream().map(task -> mapper.map(task, TaskDto.class)); + return taskDtoStream + .collect(Collectors.toList()); + } + + public Page findAllBy(Pageable pageable) { + var tasks = taskRepository.findAll(pageable); + log.info("Received {} tasks on the page", tasks.stream().count()); + return tasks.map(task -> mapper.map(task, TaskDto.class)); + } + + public Optional findById(Integer id) { + return Optional.ofNullable(taskRepository.findById(id) + .map(task -> mapper.map(task, TaskDto.class)) + .orElseThrow(() -> new TaskNotFoundException("Task with" + id + " not found"))); + } + + public void update(TaskDto taskDto) { + var task = mapper.map(taskDto, Task.class); + log.info("Received task {}", task); + taskRepository.save(task); + } + + public void deleteById(Integer id) { + var maybeTask = taskRepository.findById(id); + maybeTask.ifPresent(task -> { + log.info("Received task {}", task); + taskRepository.delete(task); + }); + maybeTask.orElseThrow(() -> new TaskNotFoundException("Task with id {} not found")); + } + + public void save(CreateTaskDto createTaskDto) { + var task = mapper.map(createTaskDto, Task.class); + taskRepository.saveAndFlush(task); + if (taskRepository.findById(task.getId()).isPresent()) { + log.info("Task was added successfully"); + } else { + log.info("Task not found"); + } + } +} diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index b806818..d2f004e 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -9,8 +9,8 @@ spring: name : springJRproj mvc: view: - suffix: .jsp - prefix : /WEB-INF/views/ + suffix: .html + profiles: active: qa datasource : diff --git a/src/main/resources/db/changelog/db.changelog-1.0.sql b/src/main/resources/db/changelog/db.changelog-1.0.sql new file mode 100644 index 0000000..9e4e150 --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-1.0.sql @@ -0,0 +1,19 @@ +--liquibase formatted sql + +--changeset Volodymyr Malyniak:1 +create table IF NOT EXISTS `users` ( + `id` int primary key auto_increment, + `username` varchar(32) unique , + `email` varchar(32) unique , + `birth_date` date + ); + +--changeset Volodymyr Malyniak:2 +CREATE TABLE IF NOT EXISTS `task` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `description` varchar(100) NOT NULL, + `status` int(11) NOT NULL, + user_id int, + PRIMARY KEY (`id`), + foreign key (user_id) references users(id) +) \ No newline at end of file diff --git a/src/main/resources/db/changelog/db.changelog-2.0.sql b/src/main/resources/db/changelog/db.changelog-2.0.sql new file mode 100644 index 0000000..000e32d --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-2.0.sql @@ -0,0 +1,17 @@ + +--liquibase formatted sql + +--changeset Volodymyr Malyniak:1 +insert ignore into users +values (1,'malyniak', 'malyniak@gmail.com', '1996-05-15'), + (2, 'hbz', 'hbz90@ukr.net', '1993-07-27'), + (3, 'shalimova', 'shalimove@ukr.net', '1998-05-18'), + (4, 'marbar', 'marbar@gmail.com', '2006-07-16'), + (5, 'vasul', 'vasul@gmail.com', '1996-04-13'); + +--changeset Volodymyr Malyniak:2 +INSERT IGNORE INTO `task` +VALUES (1,'aaa',1, 2),(2,'bbb',2, 4),(3,'ccc',0, 1),(4,'ddd',1, 4),(5,'eee',2, 5),(6,'fff',0, 1),(7,'ggg',1, 3), + (8,'hhh',2, 2),(9,'jjj',0, 4),(10,'kkk',1, 5),(11,'lll',2, 3),(12,'mmm',0, 4),(13,'nnn',1, 4), + (14,'ooo',2, 2),(15,'ppp',0, 3); + diff --git a/src/main/resources/db/changelog/db.changelog-master.yaml b/src/main/resources/db/changelog/db.changelog-master.yaml new file mode 100644 index 0000000..aa91c7f --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-master.yaml @@ -0,0 +1,5 @@ +databaseChangeLog : + - include: + file: db/changelog/db.changelog-1.0.sql + - include : + file : db/changelog/db.changelog-2.0.sql \ No newline at end of file diff --git a/src/main/resources/sql/data.sql b/src/main/resources/sql/data.sql new file mode 100644 index 0000000..8a92f67 --- /dev/null +++ b/src/main/resources/sql/data.sql @@ -0,0 +1,20 @@ +LOCK TABLES `task` WRITE; + +ALTER TABLE `task` DISABLE KEYS ; + +INSERT IGNORE INTO `task` +VALUES (1,'aaa',1, 2),(2,'bbb',2, 4),(3,'ccc',0, 1),(4,'ddd',1, 4),(5,'eee',2, 5),(6,'fff',0, 1),(7,'ggg',1, 3), + (8,'hhh',2, 2),(9,'jjj',0, 4),(10,'kkk',1, 5),(11,'lll',2, 3),(12,'mmm',0, 4),(13,'nnn',1, 4), + (14,'ooo',2, 2),(15,'ppp',0, 3); + +ALTER TABLE `task` ENABLE KEYS ; + +UNLOCK TABLES; + +insert into users +values (1,'malyniak', 'malyniak@gmail.com', '1996-05-15'), + (2, 'hbz', 'hbz90@ukr.net', '1993-07-27'), + (3, 'shalimova', 'shalimove@ukr.net', '1998-05-18'), + (4, 'marbar', 'marbar@gmail.com', '2006-07-16'), + (5, 'vasul', 'vasul@gmail.com', '1996-04-13'); + diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql new file mode 100644 index 0000000..bf33a08 --- /dev/null +++ b/src/main/resources/sql/init.sql @@ -0,0 +1,24 @@ +drop table if exists users; + +create table todo.users( + id int primary key auto_increment, + username varchar(32) unique , + email varchar(32) unique , + birth_date date +); + + +DROP TABLE IF EXISTS `task`; + +CREATE TABLE `task` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `description` varchar(100) NOT NULL, + `status` int(11) NOT NULL, + user_id int, + PRIMARY KEY (`id`), + foreign key (user_id) references users(id) +) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4; +SET character_set_client = @saved_cs_client ; + +LOCK TABLES `task` WRITE; +ALTER TABLE `task` DISABLE KEYS ; \ No newline at end of file diff --git a/src/main/resources/templates/create.html b/src/main/resources/templates/create.html new file mode 100644 index 0000000..a0b030a --- /dev/null +++ b/src/main/resources/templates/create.html @@ -0,0 +1,23 @@ + + + + + Create form + + +

Create form

+
+ + + +
+ + \ No newline at end of file diff --git a/src/main/resources/templates/edit.html b/src/main/resources/templates/edit.html new file mode 100644 index 0000000..520f30d --- /dev/null +++ b/src/main/resources/templates/edit.html @@ -0,0 +1,23 @@ + + + + + Edit form + + +

Edit Item

+
+ + +
+ + +
+ +
+ + \ No newline at end of file diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html new file mode 100644 index 0000000..d049a73 --- /dev/null +++ b/src/main/resources/templates/error.html @@ -0,0 +1,58 @@ + + + + + + + Error + + + +
+

Error

+

Oops! Something went wrong. The task you are looking for could not be found.

+

Please try again later or contact support if the problem persists.

+ Back to tasks +
+ + diff --git a/src/main/resources/templates/tasks.html b/src/main/resources/templates/tasks.html new file mode 100644 index 0000000..24d3aa7 --- /dev/null +++ b/src/main/resources/templates/tasks.html @@ -0,0 +1,58 @@ + + + + + + Good Thymes Virtual Grocery + + + + + + +
+ + + + + + + + + + + + + + + +
IDDescriptionStatusEditDelete
Id Description Status + Edit + +
+ + +
+
+
+ +
+ + + +
+ + +
+
+ +
+ +
+ + + + + + + \ No newline at end of file diff --git a/src/test/java/com/study/springjrproj/IntegrationTestBase.java b/src/test/java/com/study/springjrproj/IntegrationTestBase.java new file mode 100644 index 0000000..1af6f93 --- /dev/null +++ b/src/test/java/com/study/springjrproj/IntegrationTestBase.java @@ -0,0 +1,25 @@ +package com.study.springjrproj; + +import com.study.springjrproj.anotation.IT; +import org.junit.jupiter.api.BeforeAll; +import org.springframework.test.context.DynamicPropertyRegistry; +import org.springframework.test.context.DynamicPropertySource; +import org.testcontainers.containers.MySQLContainer; + +@IT +public abstract class IntegrationTestBase { + private static final MySQLContainer container = new MySQLContainer<>("mysql:8.1") + .withUsername("root") + .withPassword("12345678") + .withDatabaseName("jdbc:mysql://localhost:3306/todo"); + + @BeforeAll + static void runContainer() { + container.start(); + } + + @DynamicPropertySource + static void redisProperties(DynamicPropertyRegistry registry) { + registry.add("spring.datasource.url", container::getJdbcUrl); + } +} diff --git a/src/test/java/com/study/springjrproj/SpringJRprojApplicationTests.java b/src/test/java/com/study/springjrproj/SpringJRprojApplicationTests.java index c27b454..a891880 100644 --- a/src/test/java/com/study/springjrproj/SpringJRprojApplicationTests.java +++ b/src/test/java/com/study/springjrproj/SpringJRprojApplicationTests.java @@ -4,10 +4,10 @@ import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest -class SpringJRprojApplicationTests { +public class SpringJRprojApplicationTests { - @Test - void contextLoads() { - } + @Test + void contextLoads() { + } -} +} \ No newline at end of file diff --git a/src/test/java/com/study/springjrproj/anotation/IT.java b/src/test/java/com/study/springjrproj/anotation/IT.java new file mode 100644 index 0000000..8e2e886 --- /dev/null +++ b/src/test/java/com/study/springjrproj/anotation/IT.java @@ -0,0 +1,18 @@ +package com.study.springjrproj.anotation; + +import com.study.springjrproj.SpringJRprojApplicationTests; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.ActiveProfiles; +import org.springframework.transaction.annotation.Transactional; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +@Transactional +@SpringBootTest(classes = SpringJRprojApplicationTests.class) +public @interface IT { +} diff --git a/src/test/java/com/study/springjrproj/controller/TaskControllerIT.java b/src/test/java/com/study/springjrproj/controller/TaskControllerIT.java new file mode 100644 index 0000000..81c9303 --- /dev/null +++ b/src/test/java/com/study/springjrproj/controller/TaskControllerIT.java @@ -0,0 +1,47 @@ +package com.study.springjrproj.controller; + +import com.study.springjrproj.IntegrationTestBase; +import com.study.springjrproj.SpringJRProjApplication; +import com.study.springjrproj.service.TaskService; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.junit.jupiter.SpringExtension; +import org.springframework.test.web.servlet.MockMvc; +import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; +import org.springframework.test.web.servlet.setup.MockMvcBuilders; + +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; + +@ExtendWith(SpringExtension.class) +@ContextConfiguration(classes = SpringJRProjApplication.class, + initializers = ConfigDataApplicationContextInitializer.class) +class TaskControllerIT extends IntegrationTestBase { + + MockMvc mockMvc; + + TaskService taskService; + TaskController taskController; + + @Autowired + public TaskControllerIT(TaskService taskService, TaskController taskController) { + this.taskService = taskService; + this.taskController = taskController; + mockMvc = MockMvcBuilders.standaloneSetup(taskController).build(); + } + + @Test + public void getAllTasks() { + try { + mockMvc.perform(MockMvcRequestBuilders.get("/tasks")) + .andExpect(status().isOk()) + .andExpect(view().name("tasks")) + .andExpect(model().attributeExists("tasksPerPage")); + } catch (Exception e) { + e.printStackTrace(); + } + } + +} diff --git a/src/test/java/com/study/springjrproj/service/TaskServiceIT.java b/src/test/java/com/study/springjrproj/service/TaskServiceIT.java new file mode 100644 index 0000000..387abbf --- /dev/null +++ b/src/test/java/com/study/springjrproj/service/TaskServiceIT.java @@ -0,0 +1,94 @@ +package com.study.springjrproj.service; + +import com.study.springjrproj.IntegrationTestBase; +import com.study.springjrproj.SpringJRProjApplication; +import com.study.springjrproj.domain.Status; +import com.study.springjrproj.domain.Task; +import com.study.springjrproj.dto.CreateTaskDto; +import com.study.springjrproj.repository.TaskRepository; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.modelmapper.ModelMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer; +import org.springframework.data.domain.PageRequest; +import org.springframework.data.domain.Pageable; +import org.springframework.test.annotation.Rollback; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.junit.jupiter.SpringExtension; + +import static org.junit.jupiter.api.Assertions.*; + +@ExtendWith(SpringExtension.class) +@ContextConfiguration(classes = SpringJRProjApplication.class, + initializers = ConfigDataApplicationContextInitializer.class) +class TaskServiceIT extends IntegrationTestBase { + private static final int TASK_ID = 1; + private static final int TASKS_SIZE = 15; + private static final int pageNumber = 0; + private static final int pageSize = 5; + private static final String UPDATE_DESCRIPTION = "test"; + private final TaskRepository taskRepository; + private final ModelMapper mapper; + + @Autowired + public TaskServiceIT(TaskRepository taskRepository, ModelMapper mapper) { + this.taskRepository = taskRepository; + this.mapper = mapper; + } + + @Test + public void findById() { + var task = taskRepository.findById(TASK_ID); + assertTrue(task.isPresent()); + assertNotNull(task); + } + + @Test + public void findAll() { + var tasks = taskRepository.findAll(); + assertEquals(TASKS_SIZE, tasks.size()); + } + + @Test + public void findAllPageable() { + Pageable pageable = PageRequest.of(pageNumber, pageSize); + var tasks = taskRepository.findAll(pageable); + assertEquals(TASKS_SIZE, tasks.getTotalElements()); + } + + @Test + @Rollback + public void save() { + var tasksBefore = taskRepository.findAll(); + var createTaskDto = new CreateTaskDto("test", Status.PAUSED); + var task = mapper.map(createTaskDto, Task.class); + taskRepository.saveAndFlush(task); + var tasksAfter = taskRepository.findAll(); + assertNotEquals(tasksAfter, tasksBefore); + } + + @Test + @Rollback + public void update() { + var maybeTask = taskRepository.findById(TASK_ID); + var task = maybeTask.get(); + assertNotNull(task); + task.setDescription(UPDATE_DESCRIPTION); + taskRepository.saveAndFlush(task); + assertEquals(task.getDescription(), UPDATE_DESCRIPTION); + } + + @Test + @Rollback + public void delete() { + var tasksSize = taskRepository.findAll().size(); + var maybeTask = taskRepository.findById(TASK_ID); + var task = maybeTask.get(); + taskRepository.delete(task); + taskRepository.flush(); + Assertions.assertTrue(taskRepository.findById(TASK_ID).isEmpty()); + Assertions.assertNotEquals(taskRepository.findAll().size(), tasksSize); + } +} diff --git a/src/test/resources/application-test.yaml b/src/test/resources/application-test.yaml new file mode 100644 index 0000000..d23eb7b --- /dev/null +++ b/src/test/resources/application-test.yaml @@ -0,0 +1,7 @@ +spring : + jpa : + hibernate : + ddl-auto : update + datasource : + username : root + password : 12345678