diff --git a/bin/.gitignore b/bin/.gitignore
index 5eac309..4c89444 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -30,4 +30,7 @@ build/
!**/src/test/**/build/
### VS Code ###
-.vscode/
\ No newline at end of file
+.vscode/
+
+### Ignore logs files recursively ###
+logs/
\ No newline at end of file
diff --git a/bin/README.md b/bin/README.md
index 3df9126..81b267e 100644
--- a/bin/README.md
+++ b/bin/README.md
@@ -36,3 +36,7 @@ This is a backend system for an electronic diary. The system includes functional
- Implement a logger to track system events and errors
- Provide an endpoint to download the log file
+
+### Swagger
+
+- Swagger for generating all endpoints implemented
diff --git a/bin/logs/spring-boot-logging.log b/bin/logs/spring-boot-logging.log
index 70f374e..9e0aec0 100644
--- a/bin/logs/spring-boot-logging.log
+++ b/bin/logs/spring-boot-logging.log
@@ -1,642 +1,30 @@
-2024-07-09T08:01:12.558+02:00 INFO 7276 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 7276 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T08:01:12.569+02:00 INFO 7276 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T08:01:13.415+02:00 INFO 7276 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T08:01:13.536+02:00 INFO 7276 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 114 ms. Found 7 JPA repository interfaces.
-2024-07-09T08:01:14.054+02:00 INFO 7276 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T08:01:14.064+02:00 INFO 7276 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T08:01:14.065+02:00 INFO 7276 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T08:01:14.128+02:00 INFO 7276 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T08:01:14.128+02:00 INFO 7276 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1494 ms
-2024-07-09T08:01:14.718+02:00 INFO 7276 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T08:01:14.754+02:00 INFO 7276 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T08:01:15.059+02:00 INFO 7276 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@31880efa
-2024-07-09T08:01:15.062+02:00 INFO 7276 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T08:01:16.561+02:00 INFO 7276 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T08:01:17.052+02:00 WARN 7276 --- [electric_diary] [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-07-09T08:01:17.405+02:00 INFO 7276 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4848681d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7712c315, org.springframework.security.web.context.SecurityContextHolderFilter@4ab959e8, org.springframework.security.web.header.HeaderWriterFilter@13ac1657, org.springframework.web.filter.CorsFilter@5a9a187b, org.springframework.security.web.authentication.logout.LogoutFilter@7ef570be, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@645b67d6, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5f910283, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6e2764c9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5529fd4e, org.springframework.security.web.access.ExceptionTranslationFilter@54e39504, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4353230]
-2024-07-09T08:01:17.774+02:00 INFO 7276 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T08:01:17.787+02:00 INFO 7276 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 5.655 seconds (process running for 6.547)
-2024-07-09T08:02:00.562+02:00 INFO 7276 --- [electric_diary] [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T08:02:00.563+02:00 INFO 7276 --- [electric_diary] [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T08:02:00.565+02:00 INFO 7276 --- [electric_diary] [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
-2024-07-09T08:28:07.086+02:00 INFO 13392 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 13392 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T08:28:07.088+02:00 INFO 13392 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T08:28:07.814+02:00 INFO 13392 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T08:28:07.930+02:00 INFO 13392 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 105 ms. Found 7 JPA repository interfaces.
-2024-07-09T08:28:08.452+02:00 INFO 13392 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T08:28:08.474+02:00 INFO 13392 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T08:28:08.474+02:00 INFO 13392 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T08:28:08.539+02:00 INFO 13392 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T08:28:08.540+02:00 INFO 13392 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1404 ms
-2024-07-09T08:28:09.007+02:00 INFO 13392 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T08:28:09.030+02:00 INFO 13392 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T08:28:09.294+02:00 INFO 13392 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@7ecb9e17
-2024-07-09T08:28:09.296+02:00 INFO 13392 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T08:28:10.812+02:00 INFO 13392 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T08:28:11.411+02:00 WARN 13392 --- [electric_diary] [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-07-09T08:28:11.857+02:00 INFO 13392 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3fb920d9, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5d3a147f, org.springframework.security.web.context.SecurityContextHolderFilter@359f3401, org.springframework.security.web.header.HeaderWriterFilter@72dc7f0a, org.springframework.web.filter.CorsFilter@79bb14d8, org.springframework.security.web.authentication.logout.LogoutFilter@35920655, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6cb1da13, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@51d50b5f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@38816a6c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@72fc6b5e, org.springframework.security.web.access.ExceptionTranslationFilter@df0b348, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7c59f315]
-2024-07-09T08:28:12.119+02:00 WARN 13392 --- [electric_diary] [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'
-2024-07-09T08:28:12.121+02:00 INFO 13392 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T08:28:12.122+02:00 INFO 13392 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T08:28:12.130+02:00 INFO 13392 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T08:28:12.143+02:00 INFO 13392 --- [electric_diary] [main] .s.b.a.l.ConditionEvaluationReportLogger :
-
-Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
-2024-07-09T08:28:12.156+02:00 ERROR 13392 --- [electric_diary] [main] o.s.b.d.LoggingFailureAnalysisReporter :
-
-***************************
-APPLICATION FAILED TO START
-***************************
-
-Description:
-
-Web server failed to start. Port 8080 was already in use.
-
-Action:
-
-Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
-
-2024-07-09T08:33:51.435+02:00 INFO 7276 --- [electric_diary] [RMI TCP Connection(36)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T08:33:51.458+02:00 INFO 7276 --- [electric_diary] [RMI TCP Connection(36)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T08:33:51.460+02:00 INFO 7276 --- [electric_diary] [RMI TCP Connection(36)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T08:33:51.467+02:00 INFO 7276 --- [electric_diary] [RMI TCP Connection(36)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T08:33:57.754+02:00 INFO 20288 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 20288 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T08:33:57.757+02:00 INFO 20288 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T08:33:58.534+02:00 INFO 20288 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T08:33:58.662+02:00 INFO 20288 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 117 ms. Found 7 JPA repository interfaces.
-2024-07-09T08:33:59.124+02:00 INFO 20288 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T08:33:59.137+02:00 INFO 20288 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T08:33:59.137+02:00 INFO 20288 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T08:33:59.189+02:00 INFO 20288 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T08:33:59.189+02:00 INFO 20288 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1382 ms
-2024-07-09T08:33:59.620+02:00 INFO 20288 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T08:33:59.646+02:00 INFO 20288 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T08:33:59.910+02:00 INFO 20288 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@73dbe25
-2024-07-09T08:33:59.912+02:00 INFO 20288 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T08:34:01.125+02:00 INFO 20288 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T08:34:01.564+02:00 WARN 20288 --- [electric_diary] [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-07-09T08:34:01.859+02:00 INFO 20288 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6c3830ed, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@32a541a8, org.springframework.security.web.context.SecurityContextHolderFilter@1c00a9f0, org.springframework.security.web.header.HeaderWriterFilter@c725dfa, org.springframework.web.filter.CorsFilter@63b85d97, org.springframework.security.web.authentication.logout.LogoutFilter@73418044, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@18f8c76d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5e572ad6, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@709353b9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@50cadbae, org.springframework.security.web.access.ExceptionTranslationFilter@55d35f7a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@c7008b4]
-2024-07-09T08:34:02.112+02:00 INFO 20288 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T08:34:02.121+02:00 INFO 20288 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.77 seconds (process running for 5.561)
-2024-07-09T08:39:33.778+02:00 INFO 20288 --- [electric_diary] [http-nio-8080-exec-3] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T08:39:33.778+02:00 INFO 20288 --- [electric_diary] [http-nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T08:39:33.780+02:00 INFO 20288 --- [electric_diary] [http-nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
-2024-07-09T17:08:55.176+02:00 INFO 16004 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 16004 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:08:55.179+02:00 INFO 16004 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:08:56.183+02:00 INFO 16004 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:08:56.291+02:00 INFO 16004 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 99 ms. Found 7 JPA repository interfaces.
-2024-07-09T17:08:56.891+02:00 INFO 16004 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:08:56.902+02:00 INFO 16004 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:08:56.902+02:00 INFO 16004 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:08:56.960+02:00 INFO 16004 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:08:56.960+02:00 INFO 16004 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1713 ms
-2024-07-09T17:08:57.476+02:00 INFO 16004 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:08:57.508+02:00 INFO 16004 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:08:57.812+02:00 INFO 16004 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@2dc3ece8
-2024-07-09T17:08:57.814+02:00 INFO 16004 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:08:59.253+02:00 INFO 16004 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:08:59.707+02:00 WARN 16004 --- [electric_diary] [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-07-09T17:09:00.018+02:00 INFO 16004 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@63b85d97, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@50cadbae, org.springframework.security.web.context.SecurityContextHolderFilter@5e572ad6, org.springframework.security.web.header.HeaderWriterFilter@756b703d, org.springframework.web.filter.CorsFilter@7d583602, org.springframework.security.web.authentication.logout.LogoutFilter@52b2713a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7c59f315, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@69c53b72, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@768967cf, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@65689000, org.springframework.security.web.access.ExceptionTranslationFilter@c725dfa, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@719e8f9f]
-2024-07-09T17:09:00.322+02:00 INFO 16004 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:09:00.332+02:00 INFO 16004 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 5.746 seconds (process running for 6.678)
-2024-07-09T17:10:03.274+02:00 INFO 16004 --- [electric_diary] [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T17:10:03.275+02:00 INFO 16004 --- [electric_diary] [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T17:10:03.276+02:00 INFO 16004 --- [electric_diary] [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
-2024-07-09T17:10:57.122+02:00 INFO 16004 --- [electric_diary] [http-nio-8080-exec-6] c.e.controllers.TeacherController : This is an info message
-2024-07-09T17:15:44.811+02:00 INFO 16004 --- [electric_diary] [RMI TCP Connection(11)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T17:15:44.834+02:00 INFO 16004 --- [electric_diary] [RMI TCP Connection(11)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:15:44.837+02:00 INFO 16004 --- [electric_diary] [RMI TCP Connection(11)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T17:15:44.845+02:00 INFO 16004 --- [electric_diary] [RMI TCP Connection(11)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T17:15:47.685+02:00 INFO 29612 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 29612 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:15:47.688+02:00 INFO 29612 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:15:48.481+02:00 INFO 29612 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:15:48.603+02:00 INFO 29612 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 113 ms. Found 7 JPA repository interfaces.
-2024-07-09T17:15:49.105+02:00 INFO 29612 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:15:49.114+02:00 INFO 29612 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:15:49.115+02:00 INFO 29612 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:15:49.185+02:00 INFO 29612 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:15:49.186+02:00 INFO 29612 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1450 ms
-2024-07-09T17:15:49.688+02:00 INFO 29612 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:15:49.715+02:00 INFO 29612 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:15:50.059+02:00 INFO 29612 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@533e2f4
-2024-07-09T17:15:50.060+02:00 INFO 29612 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:15:51.418+02:00 INFO 29612 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:15:51.858+02:00 WARN 29612 --- [electric_diary] [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-07-09T17:15:52.158+02:00 INFO 29612 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@9214725, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@289d9f0d, org.springframework.security.web.context.SecurityContextHolderFilter@16117d9, org.springframework.security.web.header.HeaderWriterFilter@51d50b5f, org.springframework.web.filter.CorsFilter@39aaa7db, org.springframework.security.web.authentication.logout.LogoutFilter@6f749a1f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@79bb14d8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4bf6bc2d, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2c914364, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@14a3a66c, org.springframework.security.web.access.ExceptionTranslationFilter@359f3401, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7d583602]
-2024-07-09T17:15:52.452+02:00 INFO 29612 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:15:52.460+02:00 INFO 29612 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 5.245 seconds (process running for 6.113)
-2024-07-09T17:16:11.421+02:00 INFO 29612 --- [electric_diary] [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T17:16:11.422+02:00 INFO 29612 --- [electric_diary] [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T17:16:11.425+02:00 INFO 29612 --- [electric_diary] [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
-2024-07-09T17:17:50.756+02:00 INFO 29612 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T17:17:50.784+02:00 INFO 29612 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:17:50.786+02:00 INFO 29612 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T17:17:50.793+02:00 INFO 29612 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T17:17:53.415+02:00 INFO 23844 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 23844 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:17:53.417+02:00 INFO 23844 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:17:54.197+02:00 INFO 23844 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:17:54.329+02:00 INFO 23844 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 123 ms. Found 7 JPA repository interfaces.
-2024-07-09T17:17:54.853+02:00 INFO 23844 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:17:54.862+02:00 INFO 23844 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:17:54.863+02:00 INFO 23844 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:17:54.928+02:00 INFO 23844 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:17:54.929+02:00 INFO 23844 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1461 ms
-2024-07-09T17:17:55.330+02:00 INFO 23844 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:17:55.352+02:00 INFO 23844 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:17:55.644+02:00 INFO 23844 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@16029e2f
-2024-07-09T17:17:55.646+02:00 INFO 23844 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:17:56.848+02:00 INFO 23844 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:17:57.298+02:00 WARN 23844 --- [electric_diary] [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-07-09T17:17:57.611+02:00 INFO 23844 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2bd67cf9, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4ba32242, org.springframework.security.web.context.SecurityContextHolderFilter@54626326, org.springframework.security.web.header.HeaderWriterFilter@56adb75e, org.springframework.web.filter.CorsFilter@581f1f40, org.springframework.security.web.authentication.logout.LogoutFilter@25c756f0, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6d21a69f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7ea91c39, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@55d35f7a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@52b2c255, org.springframework.security.web.access.ExceptionTranslationFilter@1f9a5d3b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@59ebe484]
-2024-07-09T17:17:57.876+02:00 INFO 23844 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:17:57.888+02:00 INFO 23844 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.909 seconds (process running for 5.724)
-2024-07-09T17:45:46.256+02:00 INFO 18480 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 18480 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:45:46.259+02:00 INFO 18480 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:45:47.859+02:00 INFO 18480 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:45:48.049+02:00 INFO 18480 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 180 ms. Found 8 JPA repository interfaces.
-2024-07-09T17:45:48.836+02:00 INFO 18480 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:45:48.858+02:00 INFO 18480 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:45:48.859+02:00 INFO 18480 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:45:48.942+02:00 INFO 18480 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:45:48.943+02:00 INFO 18480 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2627 ms
-2024-07-09T17:45:49.607+02:00 INFO 18480 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:45:49.682+02:00 INFO 18480 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:45:50.078+02:00 INFO 18480 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@7e3d168e
-2024-07-09T17:45:50.079+02:00 INFO 18480 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:45:51.454+02:00 INFO 18480 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:45:51.905+02:00 WARN 18480 --- [electric_diary] [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-07-09T17:45:52.207+02:00 INFO 18480 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2250deae, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@49e8548d, org.springframework.security.web.context.SecurityContextHolderFilter@18ada4e1, org.springframework.security.web.header.HeaderWriterFilter@df0b348, org.springframework.web.filter.CorsFilter@3fb920d9, org.springframework.security.web.authentication.logout.LogoutFilter@5702232d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1c3eeda4, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@359f3401, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@242a3997, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5d3a147f, org.springframework.security.web.access.ExceptionTranslationFilter@2052c49f, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@18f8c76d]
-2024-07-09T17:45:52.487+02:00 INFO 18480 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:45:52.496+02:00 INFO 18480 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 6.709 seconds (process running for 7.616)
-2024-07-09T17:51:03.615+02:00 INFO 18480 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T17:51:03.657+02:00 INFO 18480 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:51:03.661+02:00 INFO 18480 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T17:51:03.675+02:00 INFO 18480 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T17:51:06.295+02:00 INFO 20208 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 20208 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:51:06.299+02:00 INFO 20208 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:51:07.083+02:00 INFO 20208 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:51:07.203+02:00 INFO 20208 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 112 ms. Found 8 JPA repository interfaces.
-2024-07-09T17:51:07.695+02:00 INFO 20208 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:51:07.708+02:00 INFO 20208 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:51:07.709+02:00 INFO 20208 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:51:07.761+02:00 INFO 20208 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:51:07.762+02:00 INFO 20208 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1417 ms
-2024-07-09T17:51:08.171+02:00 INFO 20208 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:51:08.193+02:00 INFO 20208 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:51:08.471+02:00 INFO 20208 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@762da62b
-2024-07-09T17:51:08.473+02:00 INFO 20208 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:51:09.622+02:00 INFO 20208 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:51:10.086+02:00 WARN 20208 --- [electric_diary] [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-07-09T17:51:10.429+02:00 INFO 20208 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@55b7f0d, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@e0faed6, org.springframework.security.web.context.SecurityContextHolderFilter@48900d4a, org.springframework.security.web.header.HeaderWriterFilter@41c05747, org.springframework.web.filter.CorsFilter@53ccbc15, org.springframework.security.web.authentication.logout.LogoutFilter@1e8c741c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@68ac6e6e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@452ea8f0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@e417628, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5817b0d1, org.springframework.security.web.access.ExceptionTranslationFilter@27558dee, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@645b67d6]
-2024-07-09T17:51:10.689+02:00 INFO 20208 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:51:10.698+02:00 INFO 20208 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.778 seconds (process running for 5.537)
-2024-07-09T17:53:18.274+02:00 INFO 20208 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T17:53:18.299+02:00 INFO 20208 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:53:18.301+02:00 INFO 20208 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T17:53:18.308+02:00 INFO 20208 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T17:53:20.999+02:00 INFO 22080 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 22080 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:53:21.002+02:00 INFO 22080 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:53:21.931+02:00 INFO 22080 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:53:22.049+02:00 INFO 22080 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 111 ms. Found 8 JPA repository interfaces.
-2024-07-09T17:53:22.550+02:00 INFO 22080 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:53:22.560+02:00 INFO 22080 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:53:22.561+02:00 INFO 22080 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:53:22.621+02:00 INFO 22080 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:53:22.621+02:00 INFO 22080 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1571 ms
-2024-07-09T17:53:23.038+02:00 INFO 22080 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:53:23.061+02:00 INFO 22080 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:53:23.380+02:00 INFO 22080 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@343d1d25
-2024-07-09T17:53:23.383+02:00 INFO 22080 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:53:24.621+02:00 INFO 22080 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:53:25.151+02:00 WARN 22080 --- [electric_diary] [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-07-09T17:53:25.448+02:00 INFO 22080 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3299ee2c, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@542759f, org.springframework.security.web.context.SecurityContextHolderFilter@27558dee, org.springframework.security.web.header.HeaderWriterFilter@5702232d, org.springframework.web.filter.CorsFilter@68ac6e6e, org.springframework.security.web.authentication.logout.LogoutFilter@3393aa46, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@34a06981, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@41c05747, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@64455184, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6eb6750f, org.springframework.security.web.access.ExceptionTranslationFilter@149fab7f, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3a5244a1]
-2024-07-09T17:53:25.704+02:00 INFO 22080 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:53:25.714+02:00 INFO 22080 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 5.158 seconds (process running for 5.99)
-2024-07-09T17:53:49.944+02:00 INFO 22080 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T17:53:49.944+02:00 INFO 22080 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T17:53:49.946+02:00 INFO 22080 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
-2024-07-09T17:53:50.507+02:00 ERROR 22080 --- [electric_diary] [http-nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry '1' for key 'role.PRIMARY'
-2024-07-09T17:53:50.533+02:00 ERROR 22080 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.springframework.dao.DataIntegrityViolationException: could not execute statement [Duplicate entry '1' for key 'role.PRIMARY'] [insert into role (role_name,role_id) values (?,?)]; SQL [insert into role (role_name,role_id) values (?,?)]; constraint [role.PRIMARY]] with root cause
-
-java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '1' for key 'role.PRIMARY'
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:109) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:113) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:938) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1106) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1045) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1369) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1030) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) ~[HikariCP-5.0.1.jar:na]
- at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) ~[HikariCP-5.0.1.jar:na]
- at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:194) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor.performNonBatchedMutation(AbstractMutationExecutor.java:108) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.mutation.internal.MutationExecutorSingleNonBatched.performNonBatchedOperations(MutationExecutorSingleNonBatched.java:40) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor.execute(AbstractMutationExecutor.java:52) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.persister.entity.mutation.InsertCoordinator.doStaticInserts(InsertCoordinator.java:175) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.persister.entity.mutation.InsertCoordinator.coordinateInsert(InsertCoordinator.java:113) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2873) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:104) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:632) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:499) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:363) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:41) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:127) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1403) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:484) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2319) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:1976) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:439) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:169) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:267) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:101) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:562) ~[spring-orm-6.1.6.jar:6.1.6]
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:794) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:757) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:676) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:426) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:164) ~[spring-data-jpa-3.2.5.jar:3.2.5]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223) ~[spring-aop-6.1.6.jar:6.1.6]
- at jdk.proxy2/jdk.proxy2.$Proxy148.save(Unknown Source) ~[na:na]
- at com.electric_diary.services.impl.RoleServiceImpl.createRole(RoleServiceImpl.java:32) ~[classes/:na]
- at com.electric_diary.controllers.RoleController.createParent(RoleController.java:26) ~[classes/:na]
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
- at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:255) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:188) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[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.doPost(FrameworkServlet.java:914) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[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.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:117) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:213) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) ~[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.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) ~[spring-security-config-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) ~[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.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:840) ~[na:na]
-
-2024-07-09T17:55:20.501+02:00 INFO 22080 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T17:55:20.521+02:00 INFO 22080 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:55:20.523+02:00 INFO 22080 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T17:55:20.530+02:00 INFO 22080 --- [electric_diary] [RMI TCP Connection(5)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T17:55:23.330+02:00 INFO 23468 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 23468 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:55:23.332+02:00 INFO 23468 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:55:24.114+02:00 INFO 23468 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:55:24.235+02:00 INFO 23468 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 111 ms. Found 8 JPA repository interfaces.
-2024-07-09T17:55:24.707+02:00 INFO 23468 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:55:24.719+02:00 INFO 23468 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:55:24.719+02:00 INFO 23468 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:55:24.772+02:00 INFO 23468 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:55:24.772+02:00 INFO 23468 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1400 ms
-2024-07-09T17:55:25.165+02:00 INFO 23468 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:55:25.187+02:00 INFO 23468 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:55:25.479+02:00 INFO 23468 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@762da62b
-2024-07-09T17:55:25.481+02:00 INFO 23468 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:55:26.592+02:00 INFO 23468 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:55:27.033+02:00 WARN 23468 --- [electric_diary] [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-07-09T17:55:27.336+02:00 INFO 23468 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@53ccbc15, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5817b0d1, org.springframework.security.web.context.SecurityContextHolderFilter@452ea8f0, org.springframework.security.web.header.HeaderWriterFilter@6f749a1f, org.springframework.web.filter.CorsFilter@6ea1fc9, org.springframework.security.web.authentication.logout.LogoutFilter@6db64abf, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@13231e7b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46f3d0f7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@592fbd8, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@75e068dc, org.springframework.security.web.access.ExceptionTranslationFilter@41c05747, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@44a972b4]
-2024-07-09T17:55:27.613+02:00 INFO 23468 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:55:27.622+02:00 INFO 23468 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.712 seconds (process running for 5.549)
-2024-07-09T17:55:31.598+02:00 INFO 23468 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T17:55:31.598+02:00 INFO 23468 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T17:55:31.600+02:00 INFO 23468 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
-2024-07-09T17:55:32.177+02:00 ERROR 23468 --- [electric_diary] [http-nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry '2' for key 'role.PRIMARY'
-2024-07-09T17:55:32.200+02:00 ERROR 23468 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.springframework.dao.DataIntegrityViolationException: could not execute statement [Duplicate entry '2' for key 'role.PRIMARY'] [insert into role (role_name,role_id) values (?,?)]; SQL [insert into role (role_name,role_id) values (?,?)]; constraint [role.PRIMARY]] with root cause
-
-java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '2' for key 'role.PRIMARY'
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:109) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:113) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:938) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1106) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1045) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1369) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1030) ~[mysql-connector-j-8.4.0.jar:8.4.0]
- at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) ~[HikariCP-5.0.1.jar:na]
- at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) ~[HikariCP-5.0.1.jar:na]
- at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:194) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor.performNonBatchedMutation(AbstractMutationExecutor.java:108) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.mutation.internal.MutationExecutorSingleNonBatched.performNonBatchedOperations(MutationExecutorSingleNonBatched.java:40) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor.execute(AbstractMutationExecutor.java:52) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.persister.entity.mutation.InsertCoordinator.doStaticInserts(InsertCoordinator.java:175) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.persister.entity.mutation.InsertCoordinator.coordinateInsert(InsertCoordinator.java:113) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2873) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:104) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:632) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:499) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:363) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:41) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:127) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1403) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:484) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2319) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:1976) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:439) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:169) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:267) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:101) ~[hibernate-core-6.4.4.Final.jar:6.4.4.Final]
- at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:562) ~[spring-orm-6.1.6.jar:6.1.6]
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:794) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:757) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:676) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:426) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ~[spring-tx-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:164) ~[spring-data-jpa-3.2.5.jar:3.2.5]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.1.6.jar:6.1.6]
- at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223) ~[spring-aop-6.1.6.jar:6.1.6]
- at jdk.proxy2/jdk.proxy2.$Proxy148.save(Unknown Source) ~[na:na]
- at com.electric_diary.services.impl.RoleServiceImpl.createRole(RoleServiceImpl.java:32) ~[classes/:na]
- at com.electric_diary.controllers.RoleController.createParent(RoleController.java:24) ~[classes/:na]
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
- at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na]
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:255) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:188) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[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.doPost(FrameworkServlet.java:914) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[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.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:365) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:117) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:213) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) ~[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.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:374) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191) ~[spring-security-web-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195) ~[spring-webmvc-6.1.6.jar:6.1.6]
- at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230) ~[spring-security-config-6.2.4.jar:6.2.4]
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352) ~[spring-web-6.1.6.jar:6.1.6]
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268) ~[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.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:840) ~[na:na]
-
-2024-07-09T17:57:23.833+02:00 INFO 23468 --- [electric_diary] [RMI TCP Connection(4)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T17:57:23.857+02:00 INFO 23468 --- [electric_diary] [RMI TCP Connection(4)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:57:23.858+02:00 INFO 23468 --- [electric_diary] [RMI TCP Connection(4)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T17:57:23.866+02:00 INFO 23468 --- [electric_diary] [RMI TCP Connection(4)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T17:57:26.693+02:00 INFO 32840 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 32840 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T17:57:26.695+02:00 INFO 32840 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T17:57:27.561+02:00 INFO 32840 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T17:57:27.677+02:00 INFO 32840 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 109 ms. Found 8 JPA repository interfaces.
-2024-07-09T17:57:28.139+02:00 INFO 32840 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T17:57:28.149+02:00 INFO 32840 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T17:57:28.149+02:00 INFO 32840 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T17:57:28.205+02:00 INFO 32840 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T17:57:28.206+02:00 INFO 32840 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1456 ms
-2024-07-09T17:57:28.631+02:00 INFO 32840 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T17:57:28.653+02:00 INFO 32840 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T17:57:28.927+02:00 INFO 32840 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@772f3a3f
-2024-07-09T17:57:28.929+02:00 INFO 32840 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T17:57:30.058+02:00 INFO 32840 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T17:57:30.495+02:00 WARN 32840 --- [electric_diary] [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-07-09T17:57:30.786+02:00 INFO 32840 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@35129b9e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2f4bc3ff, org.springframework.security.web.context.SecurityContextHolderFilter@274b0c2a, org.springframework.security.web.header.HeaderWriterFilter@6e2764c9, org.springframework.web.filter.CorsFilter@2297c8bf, org.springframework.security.web.authentication.logout.LogoutFilter@7959fbe3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5529fd4e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@149fab7f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@28d74041, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@154fcedd, org.springframework.security.web.access.ExceptionTranslationFilter@39d4f046, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@539953af]
-2024-07-09T17:57:31.045+02:00 INFO 32840 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T17:57:31.052+02:00 INFO 32840 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.841 seconds (process running for 5.759)
-2024-07-09T17:57:46.436+02:00 INFO 32840 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T17:57:46.437+02:00 INFO 32840 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T17:57:46.440+02:00 INFO 32840 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms
-2024-07-09T18:00:41.661+02:00 INFO 32840 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T18:00:41.683+02:00 INFO 32840 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T18:00:41.685+02:00 INFO 32840 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T18:00:41.693+02:00 INFO 32840 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T18:00:44.552+02:00 INFO 20752 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 20752 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T18:00:44.556+02:00 INFO 20752 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T18:00:45.529+02:00 INFO 20752 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T18:00:45.650+02:00 INFO 20752 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 113 ms. Found 8 JPA repository interfaces.
-2024-07-09T18:00:46.150+02:00 INFO 20752 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T18:00:46.161+02:00 INFO 20752 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T18:00:46.162+02:00 INFO 20752 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T18:00:46.219+02:00 INFO 20752 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T18:00:46.219+02:00 INFO 20752 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1594 ms
-2024-07-09T18:00:46.684+02:00 INFO 20752 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T18:00:46.711+02:00 INFO 20752 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T18:00:47.053+02:00 INFO 20752 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@356fa0d1
-2024-07-09T18:00:47.055+02:00 INFO 20752 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T18:00:48.333+02:00 INFO 20752 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T18:00:48.776+02:00 WARN 20752 --- [electric_diary] [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-07-09T18:00:49.091+02:00 INFO 20752 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5529fd4e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5eaa6f76, org.springframework.security.web.context.SecurityContextHolderFilter@6e2764c9, org.springframework.security.web.header.HeaderWriterFilter@4ab959e8, org.springframework.web.filter.CorsFilter@3fc105dd, org.springframework.security.web.authentication.logout.LogoutFilter@586a9fe1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4848681d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@70199db0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@274b0c2a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@35129b9e, org.springframework.security.web.access.ExceptionTranslationFilter@52d68eb9, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@39aaa7db]
-2024-07-09T18:00:49.392+02:00 INFO 20752 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T18:00:49.406+02:00 INFO 20752 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 5.336 seconds (process running for 6.23)
-2024-07-09T18:01:32.399+02:00 INFO 20752 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T18:01:32.399+02:00 INFO 20752 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T18:01:32.401+02:00 INFO 20752 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
-2024-07-09T18:04:25.742+02:00 INFO 20752 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T18:04:25.770+02:00 INFO 20752 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T18:04:25.771+02:00 INFO 20752 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T18:04:25.781+02:00 INFO 20752 --- [electric_diary] [RMI TCP Connection(8)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T18:04:28.542+02:00 INFO 5676 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 5676 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T18:04:28.546+02:00 INFO 5676 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T18:04:29.354+02:00 INFO 5676 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T18:04:29.486+02:00 INFO 5676 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 122 ms. Found 8 JPA repository interfaces.
-2024-07-09T18:04:29.962+02:00 INFO 5676 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T18:04:29.972+02:00 INFO 5676 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T18:04:29.973+02:00 INFO 5676 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T18:04:30.024+02:00 INFO 5676 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T18:04:30.025+02:00 INFO 5676 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1428 ms
-2024-07-09T18:04:30.435+02:00 INFO 5676 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T18:04:30.460+02:00 INFO 5676 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T18:04:30.715+02:00 INFO 5676 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@343d1d25
-2024-07-09T18:04:30.717+02:00 INFO 5676 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T18:04:31.915+02:00 INFO 5676 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T18:04:32.341+02:00 WARN 5676 --- [electric_diary] [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-07-09T18:04:32.643+02:00 INFO 5676 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@59cbeaee, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3299ee2c, org.springframework.security.web.context.SecurityContextHolderFilter@35920655, org.springframework.security.web.header.HeaderWriterFilter@28d74041, org.springframework.web.filter.CorsFilter@542759f, org.springframework.security.web.authentication.logout.LogoutFilter@7aecff85, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@154fcedd, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6108c962, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@41c05747, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@68ac6e6e, org.springframework.security.web.access.ExceptionTranslationFilter@721f3526, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3d41449a]
-2024-07-09T18:04:32.907+02:00 INFO 5676 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T18:04:32.919+02:00 INFO 5676 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.831 seconds (process running for 5.631)
-2024-07-09T18:05:20.589+02:00 INFO 5676 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T18:05:20.590+02:00 INFO 5676 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T18:05:20.592+02:00 INFO 5676 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
-2024-07-09T18:07:55.063+02:00 INFO 5676 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
-2024-07-09T18:07:55.092+02:00 INFO 5676 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T18:07:55.094+02:00 INFO 5676 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
-2024-07-09T18:07:55.101+02:00 INFO 5676 --- [electric_diary] [RMI TCP Connection(7)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
-2024-07-09T18:07:57.986+02:00 INFO 26676 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Starting ElectricDiaryApplication using Java 17.0.10 with PID 26676 (C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary\target\classes started by htotbagi in C:\Users\htotbagi\OneDrive - j&s-soft GmbH\Desktop\electric_diary\electric_diary)
-2024-07-09T18:07:57.989+02:00 INFO 26676 --- [electric_diary] [main] c.e.ElectricDiaryApplication : No active profile set, falling back to 1 default profile: "default"
-2024-07-09T18:07:58.694+02:00 INFO 26676 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
-2024-07-09T18:07:58.818+02:00 INFO 26676 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 117 ms. Found 8 JPA repository interfaces.
-2024-07-09T18:07:59.285+02:00 INFO 26676 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
-2024-07-09T18:07:59.293+02:00 INFO 26676 --- [electric_diary] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
-2024-07-09T18:07:59.294+02:00 INFO 26676 --- [electric_diary] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20]
-2024-07-09T18:07:59.344+02:00 INFO 26676 --- [electric_diary] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
-2024-07-09T18:07:59.344+02:00 INFO 26676 --- [electric_diary] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1303 ms
-2024-07-09T18:07:59.792+02:00 INFO 26676 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
-2024-07-09T18:07:59.814+02:00 INFO 26676 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
-2024-07-09T18:08:00.099+02:00 INFO 26676 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@e5c5e6
-2024-07-09T18:08:00.101+02:00 INFO 26676 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
-2024-07-09T18:08:01.249+02:00 INFO 26676 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
-2024-07-09T18:08:01.761+02:00 WARN 26676 --- [electric_diary] [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-07-09T18:08:02.064+02:00 INFO 26676 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@68ac6e6e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6eb6750f, org.springframework.security.web.context.SecurityContextHolderFilter@41c05747, org.springframework.security.web.header.HeaderWriterFilter@35920655, org.springframework.web.filter.CorsFilter@13231e7b, org.springframework.security.web.authentication.logout.LogoutFilter@7eb006bd, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@59cbeaee, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6f749a1f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@48900d4a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@55b7f0d, org.springframework.security.web.access.ExceptionTranslationFilter@5702232d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@85eabca]
-2024-07-09T18:08:02.310+02:00 INFO 26676 --- [electric_diary] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
-2024-07-09T18:08:02.318+02:00 INFO 26676 --- [electric_diary] [main] c.e.ElectricDiaryApplication : Started ElectricDiaryApplication in 4.752 seconds (process running for 5.581)
-2024-07-09T18:08:42.249+02:00 INFO 26676 --- [electric_diary] [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
-2024-07-09T18:08:42.250+02:00 INFO 26676 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
-2024-07-09T18:08:42.254+02:00 INFO 26676 --- [electric_diary] [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
+2024-07-27T17:36:44.194+02:00 INFO 28532 --- [electric_diary] [main] c.e.ElectricDiaryApplicationTests : Starting ElectricDiaryApplicationTests using Java 17.0.9 with PID 28532 (started by htotbagi in C:\Users\htotbagi\Downloads\school-management-system)
+2024-07-27T17:36:44.196+02:00 INFO 28532 --- [electric_diary] [main] c.e.ElectricDiaryApplicationTests : No active profile set, falling back to 1 default profile: "default"
+2024-07-27T17:36:46.318+02:00 INFO 28532 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
+2024-07-27T17:36:46.558+02:00 INFO 28532 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 224 ms. Found 8 JPA repository interfaces.
+2024-07-27T17:36:48.883+02:00 INFO 28532 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
+2024-07-27T17:36:48.987+02:00 INFO 28532 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
+2024-07-27T17:36:49.813+02:00 INFO 28532 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@1b8d20e6
+2024-07-27T17:36:49.822+02:00 INFO 28532 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
+2024-07-27T17:36:52.554+02:00 INFO 28532 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
+2024-07-27T17:36:54.254+02:00 WARN 28532 --- [electric_diary] [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-07-27T17:36:55.194+02:00 INFO 28532 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@34714012, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@49a0fe14, org.springframework.security.web.context.SecurityContextHolderFilter@5e609b42, org.springframework.security.web.header.HeaderWriterFilter@622c658d, org.springframework.web.filter.CorsFilter@11eb8842, org.springframework.security.web.authentication.logout.LogoutFilter@c725dfa, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1e8c741c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@24673720, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2aadeb31, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4ed7db72, org.springframework.security.web.access.ExceptionTranslationFilter@4a10e65b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7ef570be]
+2024-07-27T17:36:56.239+02:00 INFO 28532 --- [electric_diary] [main] c.e.ElectricDiaryApplicationTests : Started ElectricDiaryApplicationTests in 12.615 seconds (process running for 16.148)
+2024-07-27T17:36:57.831+02:00 INFO 28532 --- [electric_diary] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2024-07-27T17:36:57.836+02:00 INFO 28532 --- [electric_diary] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
+2024-07-27T17:36:57.860+02:00 INFO 28532 --- [electric_diary] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
+2024-07-27T17:37:55.206+02:00 INFO 12368 --- [electric_diary] [main] c.e.ElectricDiaryApplicationTests : Starting ElectricDiaryApplicationTests using Java 17.0.9 with PID 12368 (started by htotbagi in C:\Users\htotbagi\Downloads\school-management-system)
+2024-07-27T17:37:55.208+02:00 INFO 12368 --- [electric_diary] [main] c.e.ElectricDiaryApplicationTests : No active profile set, falling back to 1 default profile: "default"
+2024-07-27T17:37:57.300+02:00 INFO 12368 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
+2024-07-27T17:37:57.505+02:00 INFO 12368 --- [electric_diary] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 190 ms. Found 8 JPA repository interfaces.
+2024-07-27T17:37:59.890+02:00 INFO 12368 --- [electric_diary] [main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
+2024-07-27T17:37:59.954+02:00 INFO 12368 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
+2024-07-27T17:38:00.752+02:00 INFO 12368 --- [electric_diary] [main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@6fd9dbe6
+2024-07-27T17:38:00.758+02:00 INFO 12368 --- [electric_diary] [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
+2024-07-27T17:38:03.121+02:00 INFO 12368 --- [electric_diary] [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
+2024-07-27T17:38:04.523+02:00 WARN 12368 --- [electric_diary] [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-07-27T17:38:05.593+02:00 INFO 12368 --- [electric_diary] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@53b81a55, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3181fbe7, org.springframework.security.web.context.SecurityContextHolderFilter@5dc218e2, org.springframework.security.web.header.HeaderWriterFilter@17796f47, org.springframework.web.filter.CorsFilter@c8e99, org.springframework.security.web.authentication.logout.LogoutFilter@4c364a9d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@61c98f5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4be6531a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@21553c3a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@61d7df22, org.springframework.security.web.access.ExceptionTranslationFilter@caee26e, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@154fcedd]
+2024-07-27T17:38:06.778+02:00 INFO 12368 --- [electric_diary] [main] c.e.ElectricDiaryApplicationTests : Started ElectricDiaryApplicationTests in 12.254 seconds (process running for 15.122)
+2024-07-27T17:38:07.961+02:00 INFO 12368 --- [electric_diary] [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
+2024-07-27T17:38:07.967+02:00 INFO 12368 --- [electric_diary] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
+2024-07-27T17:38:07.986+02:00 INFO 12368 --- [electric_diary] [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
diff --git a/bin/pom.xml b/bin/pom.xml
index ae16835..f572c7d 100644
--- a/bin/pom.xml
+++ b/bin/pom.xml
@@ -118,6 +118,24 @@
spring-boot-starter-security
3.3.1
+
+
+ io.springfox
+ springfox-boot-starter
+ 3.0.0
+
+
+
+ org.springdoc
+ springdoc-openapi-starter-webmvc-ui
+ 2.6.0
+
+
+
+ io.swagger.core.v3
+ swagger-core
+ 2.2.22
+
diff --git a/bin/src/main/java/com/electric_diary/ElectricDiaryApplication.class b/bin/src/main/java/com/electric_diary/ElectricDiaryApplication.class
index 1aaf0d2..965b5b9 100644
Binary files a/bin/src/main/java/com/electric_diary/ElectricDiaryApplication.class and b/bin/src/main/java/com/electric_diary/ElectricDiaryApplication.class differ
diff --git a/bin/src/main/java/com/electric_diary/configs/SpringFoxConfig.class b/bin/src/main/java/com/electric_diary/configs/SpringFoxConfig.class
new file mode 100644
index 0000000..b4cf03d
Binary files /dev/null and b/bin/src/main/java/com/electric_diary/configs/SpringFoxConfig.class differ
diff --git a/bin/src/main/java/com/electric_diary/services/impl/GradeServiceImpl.class b/bin/src/main/java/com/electric_diary/services/impl/GradeServiceImpl.class
index 551dbd5..36242de 100644
Binary files a/bin/src/main/java/com/electric_diary/services/impl/GradeServiceImpl.class and b/bin/src/main/java/com/electric_diary/services/impl/GradeServiceImpl.class differ
diff --git a/src/main/java/com/electric_diary/controllers/ClassController.java b/src/main/java/com/electric_diary/controllers/ClassController.java
index 7736e80..edfeaf6 100644
--- a/src/main/java/com/electric_diary/controllers/ClassController.java
+++ b/src/main/java/com/electric_diary/controllers/ClassController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -18,6 +19,7 @@
@RestController
@RequestMapping(path = "/api/v1/classes")
+@CrossOrigin(origins = "http://localhost:3000")
public class ClassController {
@Autowired
protected ClassService classService;
diff --git a/src/main/java/com/electric_diary/controllers/EmailController.java b/src/main/java/com/electric_diary/controllers/EmailController.java
index 74da6af..05c5a91 100644
--- a/src/main/java/com/electric_diary/controllers/EmailController.java
+++ b/src/main/java/com/electric_diary/controllers/EmailController.java
@@ -1,6 +1,7 @@
package com.electric_diary.controllers;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -11,6 +12,7 @@
@RestController
@RequestMapping(path = "/api/v1/emails")
+@CrossOrigin(origins = "http://localhost:3000")
public class EmailController {
@Autowired
private EmailService emailService;
diff --git a/src/main/java/com/electric_diary/controllers/GradeController.java b/src/main/java/com/electric_diary/controllers/GradeController.java
index 9661542..db690b4 100644
--- a/src/main/java/com/electric_diary/controllers/GradeController.java
+++ b/src/main/java/com/electric_diary/controllers/GradeController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -21,6 +22,7 @@
@RestController
@RequestMapping(path = "/api/v1/grades")
+@CrossOrigin(origins = "http://localhost:3000")
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class GradeController {
@Autowired
diff --git a/src/main/java/com/electric_diary/controllers/LogController.java b/src/main/java/com/electric_diary/controllers/LogController.java
index 1851266..435c76e 100644
--- a/src/main/java/com/electric_diary/controllers/LogController.java
+++ b/src/main/java/com/electric_diary/controllers/LogController.java
@@ -5,6 +5,7 @@
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.annotation.Secured;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -13,6 +14,7 @@
@RestController
@RequestMapping(path = "/api/v1/logs")
+@CrossOrigin(origins = "http://localhost:3000")
public class LogController {
@Secured("ROLE_ADMIN")
@GetMapping("/download")
diff --git a/src/main/java/com/electric_diary/controllers/ParentController.java b/src/main/java/com/electric_diary/controllers/ParentController.java
index e9fd11a..78ed8d1 100644
--- a/src/main/java/com/electric_diary/controllers/ParentController.java
+++ b/src/main/java/com/electric_diary/controllers/ParentController.java
@@ -4,6 +4,7 @@
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.annotation.Secured;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -21,6 +22,7 @@
@RestController
@RequestMapping(path = "/api/v1/parents")
+@CrossOrigin(origins = "http://localhost:3000")
public class ParentController {
@Autowired
protected ParentService parentService;
diff --git a/src/main/java/com/electric_diary/controllers/RoleController.java b/src/main/java/com/electric_diary/controllers/RoleController.java
index 83a8bd2..a38e01b 100644
--- a/src/main/java/com/electric_diary/controllers/RoleController.java
+++ b/src/main/java/com/electric_diary/controllers/RoleController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -18,6 +19,7 @@
@RestController
@RequestMapping(path = "/api/v1/roles")
+@CrossOrigin(origins = "http://localhost:3000")
public class RoleController {
@Autowired
protected RoleService roleService;
diff --git a/src/main/java/com/electric_diary/controllers/StudentController.java b/src/main/java/com/electric_diary/controllers/StudentController.java
index 9d7f332..5f14968 100644
--- a/src/main/java/com/electric_diary/controllers/StudentController.java
+++ b/src/main/java/com/electric_diary/controllers/StudentController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -23,6 +24,7 @@
@RestController
@RequestMapping(path = "/api/v1/students")
+@CrossOrigin(origins = "http://localhost:3000")
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class StudentController {
@Autowired
diff --git a/src/main/java/com/electric_diary/controllers/SubjectController.java b/src/main/java/com/electric_diary/controllers/SubjectController.java
index 52c1a00..5d4ef8c 100644
--- a/src/main/java/com/electric_diary/controllers/SubjectController.java
+++ b/src/main/java/com/electric_diary/controllers/SubjectController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -18,6 +19,7 @@
@RestController
@RequestMapping(path = "/api/v1/subjects")
+@CrossOrigin(origins = "http://localhost:3000")
public class SubjectController {
@Autowired
protected SubjectService subjectService;
diff --git a/src/main/java/com/electric_diary/controllers/TeacherController.java b/src/main/java/com/electric_diary/controllers/TeacherController.java
index eeb3fbe..4c708df 100644
--- a/src/main/java/com/electric_diary/controllers/TeacherController.java
+++ b/src/main/java/com/electric_diary/controllers/TeacherController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -20,6 +21,7 @@
@RestController
@RequestMapping(path = "/api/v1/teachers")
+@CrossOrigin(origins = "http://localhost:3000")
public class TeacherController {
@Autowired
protected TeacherService teacherService;
diff --git a/src/main/java/com/electric_diary/controllers/UserController.java b/src/main/java/com/electric_diary/controllers/UserController.java
index dab45b7..d140338 100644
--- a/src/main/java/com/electric_diary/controllers/UserController.java
+++ b/src/main/java/com/electric_diary/controllers/UserController.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@@ -20,6 +21,7 @@
@RestController
@RequestMapping(path = "/api/v1/users")
+@CrossOrigin(origins = "http://localhost:3000")
public class UserController {
@Autowired
protected UserService userService;