Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi @in28minutes, I have followed the udemy course and downloaded the image by running 'docker pull docker.io/in28min/mmv2-currency-exchange-service:0.0.1-SNAPSHOT' command.but when I try to run image in my system. I am getting the below error.could you please help me to sort out this problem? #10

Open
itshimanshu007 opened this issue Jul 15, 2021 · 0 comments

Comments

@itshimanshu007
Copy link

itshimanshu007 commented Jul 15, 2021

Exception :-
main] o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'tracingFilter' defined in class path resource [org/springframework/cloud/sleuth/autoconfig/instrument/web/TraceWebServletConfiguration$ServletConfiguration.class]: Unsatisfied dependency expressed through method 'tracingFilter' parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'braveHttpServerHandler' defined in class path resource [org/springframework/cloud/sleuth/autoconfig/brave/instrument/web/BraveHttpBridgeConfiguration.class]: Unsatisfied dependency expressed through method 'braveHttpServerHandler' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'httpTracing' defined in class path resource [org/springframework/cloud/sleuth/autoconfig/brave/instrument/web/BraveHttpConfiguration.class]: Unsatisfied dependency expressed through method 'httpTracing' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tracing' defined in class path resource [org/springframework/cloud/sleuth/autoconfig/brave/BraveAutoConfiguration.class]: Unsatisfied dependency expressed through method 'tracing' parameter 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultTraceSampler' defined in BeanDefinition defined in class path resource [org/springframework/cloud/sleuth/autoconfig/brave/BraveSamplerConfiguration$RefreshScopedSamplerConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class brave.sampler.Sampler: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.ClassFormatError-->Illegal class name "java/lang/Class[]" in class file brave/sampler/Sampler$$EnhancerBySpringCGLIB$$3454fa76
INFO [currency-exchange,,] 1 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
WARN [currency-exchange,,] 1 --- [ main] o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [HikariPool-1 housekeeper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)

@itshimanshu007 itshimanshu007 changed the title I have followed the udemy course and downloaded the image by running 'docker pull docker.io/in28min/mmv2-currency-exchange-service:0.0.1-SNAPSHOT' command.but when I try to run image in my system. I am getting the below error.could you please help me to sort out this problem? Hi @in28minutes, I have followed the udemy course and downloaded the image by running 'docker pull docker.io/in28min/mmv2-currency-exchange-service:0.0.1-SNAPSHOT' command.but when I try to run image in my system. I am getting the below error.could you please help me to sort out this problem? Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant