Getting Slf4J error in SpringBoot
Error is
attached my
pom.xml
17 Replies
⌛
This post has been reserved for your question.
Hey @oneplusiota! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
you have version incompatibilities
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah
basically remove all
<version>
declarations that aren't needed
i.e. all of spring/jakarta dependencies except the <parent>
maybe also for micrometer etc
Let Spring manage your Spring versions. It'll make your life so much eaiser
Now it's throwing this error
You need to bring in the Spring Cloud Pom reference
And specify your Spring Cloud version. I wish Spring would fix that.
yeah it works but a new error came.
Here's the error.
It seems you have a class
AuthClientHelper
Is it annotated with some Spring annotation like @Component
?
Is there any @Bean
method returning an AuthClientHelper
?I am using it like this
yes but where did you declare the bean?
Is there a method like
@Bean public AuthClientHelper authClientHelper()
or similar somewhere?My mistake I duplicated the file in another package that's why it was throwing an error. It works now
Post Closed
This post has been closed by <@988114355382022254>.