You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migration service startup failed (customer-service):
customer-service_1 | ***************************
customer-service_1 | APPLICATION FAILED TO START
customer-service_1 | ***************************
customer-service_1 |
customer-service_1 | Description:
customer-service_1 |
customer-service_1 | An attempt was made to call the method org.springframework.plugin.core.PluginRegistry.getPluginFor(Ljava/lang/Object;)Ljava/util/Optional; but it does not exist. Its class, org.springframework.plugin.core.PluginRegistry, is available from the following locations:
customer-service_1 |
customer-service_1 | jar:file:/service.jar!/BOOT-INF/lib/spring-plugin-core-1.2.0.RELEASE.jar!/org/springframework/plugin/core/PluginRegistry.class
customer-service_1 |
customer-service_1 | It was loaded from the following location:
customer-service_1 |
customer-service_1 | jar:file:/service.jar!/BOOT-INF/lib/spring-plugin-core-1.2.0.RELEASE.jar!/
customer-service_1 |
customer-service_1 |
customer-service_1 | Action:
customer-service_1 |
customer-service_1 | Correct the classpath of your application so that it contains a single, compatible version of org.springframework.plugin.core.PluginRegistry
But in eventuate-tram-examples-customers-and-orders everything works, it uses same eventuate dependencies.
But I found difference, eventuate-tram-examples-customers-and-orders uses newer version of spring cloud sleuth.
I updated it and error is changed:
customer-service_1 | ***************************
customer-service_1 | APPLICATION FAILED TO START
customer-service_1 | ***************************
customer-service_1 |
customer-service_1 | Description:
customer-service_1 |
customer-service_1 | An attempt was made to call a method that does not exist. The attempt was made from the following location:
customer-service_1 |
customer-service_1 | org.springframework.cloud.sleuth.instrument.redis.TraceLettuceClientResourcesBeanPostProcessor.postProcessAfterInitialization(TraceRedisAutoConfiguration.java:97)
customer-service_1 |
customer-service_1 | The following method did not exist:
customer-service_1 |
customer-service_1 | io.lettuce.core.tracing.BraveTracing.builder()Lio/lettuce/core/tracing/BraveTracing$Builder;
customer-service_1 |
customer-service_1 | The method's class, io.lettuce.core.tracing.BraveTracing, is available from the following locations:
customer-service_1 |
customer-service_1 | jar:file:/service.jar!/BOOT-INF/lib/lettuce-core-5.1.4.RELEASE.jar!/io/lettuce/core/tracing/BraveTracing.class
customer-service_1 |
customer-service_1 | It was loaded from the following location:
customer-service_1 |
customer-service_1 | jar:file:/service.jar!/BOOT-INF/lib/lettuce-core-5.1.4.RELEASE.jar!/
customer-service_1 |
customer-service_1 |
customer-service_1 | Action:
customer-service_1 |
customer-service_1 | Correct the classpath of your application so that it contains a single, compatible version of io.lettuce.core.tracing.BraveTracing
then I updated lettuce and issue was solved
The text was updated successfully, but these errors were encountered:
dartartem
added a commit
to dartartem/eventuate-tram-examples-customers-and-orders-redis
that referenced
this issue
May 17, 2021
Background:
Project used old configuration of swagger:
eventuate-tram-examples-customers-and-orders-redis/common-swagger/build.gradle
Lines 2 to 3 in 1bca0c2
eventuate-tram-examples-customers-and-orders-redis/common-swagger/src/main/java/io/eventuate/examples/tram/ordersandcustomers/commonswagger/CommonSwaggerConfiguration.java
Lines 19 to 42 in 1bca0c2
with url like: /swagger-ui.html
Currently, other projects use unified swagger configuration like this:
compile "io.eventuate.util:eventuate-util-spring-swagger:$eventuateUtilVersion"
link
link
with url like: /swagger-ui/index.html
Problem:
After migration service startup failed (customer-service):
But in eventuate-tram-examples-customers-and-orders everything works, it uses same eventuate dependencies.
But I found difference, eventuate-tram-examples-customers-and-orders uses newer version of spring cloud sleuth.
I updated it and error is changed:
then I updated lettuce and issue was solved
The text was updated successfully, but these errors were encountered: