問題描述:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Request URI does not contain a valid hostname: http://PRODUCT_SERVICE/hello
解決方案:
使用ribbon實現(xiàn)負載均衡的時候遂庄,服務(wù)名稱不能用下劃線谴分,換成中劃線五嫂。