Follow Netflix's documentation on the GitHub wiki
Gradlew Jettyrun
You can start jetty to test.
After the local build war, I placed it on Tomcat while it was running, but I was not able to run it.
Here are some questions that are logged as follows:
1. Connection pool is shut down.
This is an example of the problem of improper use of httpclient by Groovy/filters/route/simplehostroutingfilter.
It can also be observed in the boot jetty.
2. The URL cannot be opened by Tomcat in the GitHub wiki document, you can see that localhost:8080/can see the apache.org page. In Tomcat, ContextPath is clearly needed. So switch to localhost:8080/zuul/can't see anything. The reason for this is that when routing was used in Groovy/filters/route/simplehostroutingfilter, Request.getrequesturi () which contained the/zuul/was originally requested http://apache.org/, in Tomcat became the Http://apache.org/zuul, so the request in Tomcat can not be normal corresponding. Solution: Modify the code in Groovy/filters/route/simplehostroutingfilter
Netflix Zuul-simple-webapp.war launched under Tomcat