-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
for: external-projectFor an external project and not something we can fixFor an external project and not something we can fixstatus: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
I upgraded my spring boot application with below configuration.
Spring boot 2.0.4.RELEASE to 2.1.0.RELEASE
OpenJDK 8 to OpenJDK 11
Spring boot Admin version is 2.0.4
before that my application worked well. but now i have bean creation error. below i attached my stack trace.
few months ago i had this error. after that i found my issue. i had two beans with same name.
I have 'InstanceRepository' interface and spring boot admin have same name bean.
then i added this annotation parameter in my project after that my project worked well. ( defaultInstanceRepository )
@Repository("defaultInstanceRepository")
public interface InstanceRepository extends JpaRepository<Instance> {
}
but now i have this problem again after upgrade spring boot , spring boot admin and java.
2018-11-02 17:49:10.209 WARN 14809 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'instancesProxyController' defined in class path resource [de/codecentric/boot/admin/server/config/AdminServerWebConfiguration$ServletRestApiConfirguation.class]: Unsatisfied dependency expressed through method 'instancesProxyController' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'instanceRegistry' defined in class path resource [de/codecentric/boot/admin/server/config/AdminServerAutoConfiguration.class]: Unsatisfied dependency expressed through method 'instanceRegistry' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instanceRepository' defined in class path resource [de/codecentric/boot/admin/server/config/AdminServerAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.codecentric.boot.admin.server.domain.entities.SnapshottingInstanceRepository]: Factory method 'instanceRepository' threw exception; nested exception is java.lang.NoSuchMethodError: reactor.retry.Retry.retryMax(I)
Metadata
Metadata
Assignees
Labels
for: external-projectFor an external project and not something we can fixFor an external project and not something we can fixstatus: invalidAn issue that we don't feel is validAn issue that we don't feel is valid