Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem regarding starting the project #3

Open
RounakMandal3000 opened this issue May 16, 2024 · 0 comments
Open

Problem regarding starting the project #3

RounakMandal3000 opened this issue May 16, 2024 · 0 comments

Comments

@RounakMandal3000
Copy link

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

@RounakMandal3000 RounakMandal3000 changed the title Problem regarding starting the code Problem regarding starting the project May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant