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

Startup Exception #397

Open
llessi06 opened this issue Jan 24, 2025 · 0 comments
Open

Startup Exception #397

llessi06 opened this issue Jan 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@llessi06
Copy link

Describe the bug
When I start my Project with JPA Streamer it fails.
I am using latest Spring Boot (3.4.2) with the latest jpastreamer spring integration

Expected behavior
Startup should not fail

Actual behavior
Startup fails with the following exception:
ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'personDataService': Unsatisfied dependency expressed through field 'personManager': Error creating bean with name 'personManager': Unsatisfied dependency expressed through field 'jpaStreamer': Error creating bean with name 'jpaStreamer' defined in class path resource [com/speedment/jpastreamer/integration/spring/autoconfigure/JPAStreamerAutoConfiguration.class]: Failed to instantiate [com.speedment.jpastreamer.application.JPAStreamer]: Factory method 'jpaStreamer' threw exception with message: com.speedment.jpastreamer.application.JPAStreamerBuilderFactory: Provider com.speedment.jpastreamer.application.standard.StandardJPAStreamerBuilderFactory not found

when I remove JPA Streamer from my Project it starts perfectly fine

How To Reproduce
Create an Spring Boot Project from Scratch add Spring Boot Data JPA, JDBC and an Database Driver.
Create an DB Repository and an Entity.
Start the Project. -> fails

Build tool
Maven 3.9.9

JPAStreamer Integration version
JPAStreamer 3.0.4

JPA Provider
Hibernate 6.6.5.Final

Java Version
Java 21

@llessi06 llessi06 added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants