microservices-spring-boot
microservices-spring-boot copied to clipboard
Update to Spring Boot 2.2.2.RELEASE and Spring Cloud - Hoxton.RELEASE
Update to latest:
- Spring Boot: 2.2.2.RELEASE
- Spring Cloud: Hoxton.RELEASE
Also, covers Issue #5
@OmarElGabry - I have the code ready, and tested, for this issue. But, I am not able to create a pull request from this issue. Does that require special permissions?
@OmarElGabry - Here's the repo: https://github.com/direkshan-digital/microservices-spring-boot, in case you would like to pull down and test.
Paraphrasing part of your blog post
To test, run Eureka Server. Then, run other services: image, gallery, common, auth, and finally, the gateway.
Thanks @prafullkotecha I just tried running your code. I got one error in your repo for java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
as I was using JDKs >= 9. After adding below dependencies in Auth, Zuul service the error went away.
Now, Everything works perfect.
<dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1.1</version> </dependency>