Springboot-Microservice
shabbirdwd53 / springboot-microservice Goto Github PK
View Code? Open in Web Editor NEWSpringboot-Microservice
Springboot-Microservice
I am getting Illegal Argument Exception: Unable to find GatewayFilterFactory with name CircuitBreaker, In API Gateaway microservice after adding filter in yml file
could not able run the code due to error at log.info
Iam going to fix standards of service interface implementation class
Facing below issue when trying to add Hystrix circuit breaker
[ERROR] contextLoads Time elapsed: 0.002 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'eurekaAutoServiceRegistration'; nested exception is java.lang.NullPointerException: Cannot invoke "org.springframework.cloud.netflix.eureka.CloudEurekaClient.getApplications()" because the return value of "org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration.getEurekaClient()" is null
Caused by: java.lang.NullPointerException: Cannot invoke "org.springframework.cloud.netflix.eureka.CloudEurekaClient.getApplications()" because the return value of "org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration.getEurekaClient()" is null
Hi @shabbirdwd53 ,
I run all the microservices and then get "Could not locate PropertySource, ..." warning from config-server-clients.
And when I put something on application.yml like "sample.message= Welcome" after changing git-config-repo to mw own application.yml and then trying to get the field from user-service I will get error about the getting that field. Can you check it via adding sample field on git-config-repo?
thanks
Hi @shabbirdwd53,
When I tried to run the department-service its throwing the below exception. In your video I don't see you implementing that findByDepartmentId in another class.
At compile time its looking for a class who implements that method.
What is that I am missing here?
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-02-25 00:58:41.558 ERROR 7708 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'departmentController': Unsatisfied dependency expressed through field 'departmentService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'departmentService': Unsatisfied dependency expressed through field 'departmentRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'departmentRepository' defined in com.letsgeekus.practice.microservice.department.repository.DepartmentRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.letsgeekus.practice.microservice.department.entity.Department com.letsgeekus.practice.microservice.department.repository.DepartmentRepository.findByDepartmentId(java.lang.Long)! No property departmentId found for type Department!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.