Skip to content

Startup Exception #397

@llessi06

Description

@llessi06

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions