microservices-spring-boot icon indicating copy to clipboard operation
microservices-spring-boot copied to clipboard

Update to Spring Boot 2.2.2.RELEASE and Spring Cloud - Hoxton.RELEASE

Open prafullkotecha opened this issue 5 years ago • 3 comments

Update to latest:

  • Spring Boot: 2.2.2.RELEASE
  • Spring Cloud: Hoxton.RELEASE

Also, covers Issue #5

prafullkotecha avatar Dec 11 '19 20:12 prafullkotecha

@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?

prafullkotecha avatar Dec 11 '19 20:12 prafullkotecha

@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.

prafullkotecha avatar Dec 11 '19 20:12 prafullkotecha

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>

santanpereira avatar Sep 01 '20 16:09 santanpereira