You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi jkirsch,
I am currently learning about stream processing and this opencv project on Flink caught my attention. I came across a problem however when I tried to run the project.
I started the code after building the dependencies as instructed by using: ./mvnw compile -P generate-frontend
This step ran fine, however after I started running the project using ./mvnw spring-boot:run, it shows the following error:
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.3.RELEASE:run (default-cli) on project video: An exception occurred while running. null: InvocationTargetException: Error creating bean with name 'faceRecognizerInVideo': Unsatisfied dependency expressed through field 'personService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'personService': Unsatisfied dependency expressed through field 'personRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personRepository': Post-processing of merged bean definition failed; nested exception is java.lang.NoSuchMethodError: 'javax.persistence.SynchronizationType javax.persistence.PersistenceContext.synchronization()' -> [Help 1]
For this error, I have tagged the personRepository with the Repository tag as well as used Qualifier tag in both personService.java and personRepository.java, files which did not help. I was wondering whether you could shade some light into this about how do I fix this issue. I am using the Github Codespace for running this project which is a linux based system.
I am looking for your kind reply.
Regards,
Rounak
The text was updated successfully, but these errors were encountered:
RounakMandal3000
changed the title
Problem regarding starting the code
Problem regarding starting the project
May 16, 2024
Hi jkirsch,
I am currently learning about stream processing and this opencv project on Flink caught my attention. I came across a problem however when I tried to run the project.
I started the code after building the dependencies as instructed by using:
./mvnw compile -P generate-frontend
This step ran fine, however after I started running the project using
./mvnw spring-boot:run
, it shows the following error:For this error, I have tagged the personRepository with the
Repository
tag as well as usedQualifier
tag in both personService.java and personRepository.java, files which did not help. I was wondering whether you could shade some light into this about how do I fix this issue. I am using the Github Codespace for running this project which is a linux based system.I am looking for your kind reply.
Regards,
Rounak
The text was updated successfully, but these errors were encountered: