-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Closed as not planned
Copy link
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
I have an error when init the project from Spring Boot 3.0.2 (not upgrade from any others)
Please fix this issue, I can't inject EntityManager into other beans.
2023-02-02T15:17:26.788+07:00 ERROR 43272 --- [ restartedMain] o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'jwtAuthFilter': Unsatisfied dependency expressed through field 'jwtUserService': Error creating bean with name 'jwtUserServiceImpl': Unsatisfied dependency expressed through field 'accountRepository': Error creating bean with name 'accountRepository' defined in com.iplus.affiliate.repository.AccountRepository defined in @EnableJpaRepositories declared on AffiliateApplication: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'
2023-02-02T15:17:26.824+07:00 INFO 43272 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
dswiecki
Metadata
Metadata
Assignees
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged