[ec2-user@ip-172-31-6-32 ~]$ java -jar stps-1.0.0.
jar
2022-08-23 19:49:17 INFO [Link] - Starting
StpsApplication v1.0.0 using Java
1.8.0_332 on [Link] with PID 37075 (/home/ec2-
user/[Link] started
by ec2-user in /home/ec2-user)
2022-08-23 19:49:17 INFO [Link] - The following
profiles are active:
site,common
2022-08-23 19:49:18 INFO [Link] - Bootstrapping
Spring Data JPA
repositories in DEFAULT mode.
2022-08-23 19:49:18 INFO [Link] - Finished
Spring Data repository
scanning in 183 ms. Found 24 JPA repository interfaces.
2022-08-23 19:49:19 INFO [Link] - Tomcat initialized
with port(s): 8080 (http)
2022-08-23 19:49:19 INFO [Link] - Starting service
[Tomcat]
2022-08-23 19:49:19 INFO [Link] - Starting Servlet
engine: [Apache Tomcat/9.0.56]
2022-08-23 19:49:19 INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring
embedded
WebApplicationContext
2022-08-23 19:49:19 INFO [Link] - Root
WebApplicationContext:
initialization completed in 2254 ms
2022-08-23 19:49:20 INFO [Link] - HHH000204: Processing
PersistenceUnitInfo [name:
default]
2022-08-23 19:49:20 INFO [Link] - HHH000412: Hibernate ORM core
version 5.4.33
2022-08-23 19:49:20 INFO [Link] - HCANN000001: Hibernate
Commons Annotations
{[Link]}
2022-08-23 19:49:20 INFO [Link] - HikariPool-1 -
Starting...
2022-08-23 19:49:20 INFO [Link] - HikariPool-1 - Start
completed.
2022-08-23 19:49:21 INFO [Link] - HHH000400: Using dialect:
[Link].MySQL8Dialect
2022-08-23 19:49:21 INFO [Link] - Envers integration
enabled? : true
2022-08-23 19:49:24 INFO [Link] - HHH000490: Using
JtaPlatform implementation:
[[Link]]
2022-08-23 19:49:24 INFO [Link] -
Initialized JPA
EntityManagerFactory for persistence unit 'default'
2022-08-23 19:49:25 WARN
[Link] - Exception
encountered during context initialization - cancelling refresh attempt:
[Link]: Error creating
bean with name
'equityApiCheckoutService' defined in URL
[jar:file:/home/ec2-user/[Link]!/BOOT-INF/classes!/com/treasured/stps/
gateway/services/[Link]]:
Unsatisfied dependency expressed through constructor parameter 2; nested exception
is
[Link]: Error creating
bean with name
'clientService' defined in URL
[jar:file:/home/ec2-user/[Link]!/BOOT-INF/classes!/com/treasured/stps/
clients/services/[Link]]:
Unsatisfied dependency expressed through constructor parameter 1; nested exception
is
[Link]: Error creating
bean with name
'securityService': Unsatisfied dependency expressed through field
'authenticationManager'; nested exception
is [Link]: Error creating
bean with name
'stpsSecurityConfig' defined in URL
[jar:file:/home/ec2-user/[Link]!/BOOT-INF/classes!/com/treasured/stps/
configs/[Link]]:
Unsatisfied dependency expressed through constructor parameter 0; nested exception
is
[Link]: Error creating
bean with name
'userService': Unsatisfied dependency expressed through field
'bCryptPasswordEncoder'; nested exception is
[Link]: Error creating
bean with name
'stpsSecurityConfig': Requested bean is currently in creation: Is there an
unresolvable circular reference?
2022-08-23 19:49:25 INFO [Link] - Closing
JPA EntityManagerFactory
for persistence unit 'default'
2022-08-23 19:49:25 INFO [Link] - HikariPool-1 -
Shutdown initiated...
2022-08-23 19:49:25 INFO [Link] - HikariPool-1 -
Shutdown completed.
2022-08-23 19:49:25 INFO [Link] - Stopping service
[Tomcat]
2022-08-23 19:49:25 INFO [Link] -
Error starting ApplicationContext. To display the conditions report re-run your
application with 'debug'
enabled.
2022-08-23 19:49:25 ERROR [Link] -
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
equityApiCheckoutService defined in URL
[jar:file:/home/ec2-user/[Link]!/BOOT-INF/classes!/com/treasured/stps/
gateway/services/[Link]]
?
clientService defined in URL
[jar:file:/home/ec2-user/[Link]!/BOOT-INF/classes!/com/treasured/stps/
clients/services/[Link]]
?
securityService (field private
[Link]
[Link])
???????
| stpsSecurityConfig defined in URL
[jar:file:/home/ec2-user/[Link]!/BOOT-INF/classes!/com/treasured/stps/
configs/[Link]]
? ?
| userService (field private
[Link]
[Link])
???????