Tag Archives: java.lang.IllegalArgumentException: At least one JPA metamodel must be present!

java.lang.IllegalArgumentException: At least one JPA metamodel must be present!

How did “people you might know” find you on social software>>>

java.lang.IllegalArgumentException: At least one JPA metamodel must be present!
start application plus

@Enable autoconfiguration (exclude = {
jparepositoriesautoconfiguration. Class// forbid springboot to automatically load persistent beans
})

can solve the problem of recently completed database projects with multiple data sources, which is a lot of pitfalls, but also a lot of pitfalls, ha ha