Closed DanilTk closed 10 months ago
I've never encountered this error before, and I'm unable to reproduce. Could you provide some more information? Also, try the latest 0.1.3 version to see maybe if it's fixed?
@DanilTk Hi, this could be related to #8 and already fixed #1, since it mentions the ClassLoader although the error message is different. Could you try with version 0.1.4?
Since this now refers to relatively very old version, this issue has probably been fixed. I'm closing this for now, but I will examine again in case of new feedbacks.
o.s.b.SpringApplication - org.springframework.boot.SpringApplication.reportFailure : Application run failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbAdmin': Resolution of declared constructors on bean Class [tech.ailef.dbadmin.external.DbAdmin] from ClassLoader [jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7] failed; nested exception is java.lang.NoClassDefFoundError: jakarta/persistence/EntityManager at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors