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

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

Open
prafullkotecha opened this issue Dec 11, 2019 · 3 comments

Comments

@prafullkotecha
Copy link

Update to latest:

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

Also, covers Issue #5

@prafullkotecha
Copy link
Author

@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
Copy link
Author

prafullkotecha commented Dec 11, 2019

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

@santanpereira
Copy link

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>

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

2 participants