本文作者:DurkBlue

Unable to find RoutePredicateFactory with name path java.lang.IllegalArgumentException: Unable to fi推荐

DurkBlue01-1913392
Unable to find RoutePredicateFactory with name path java.lang.IllegalArgumentException: Unable to fi摘要:         记录SpringCloud在整合gateway网关遇到的一些错误 &nbs...

        记录SpringCloud在整合gateway网关遇到的一些错误

        错误1:Unable to find RoutePredicateFactory with name path   java.lang.IllegalArgumentException: Unable to find RoutePredicateFactory with name path


        Unable to find RoutePredicateFactory with name path java.lang.IllegalArgumentException: fi 第1张

        出现这个错误是个简单的错误。说明你在yam文件中把gateway的路径单词写错了。path应该写成Path

        

        Unable to find RoutePredicateFactory with name path java.lang.IllegalArgumentException: fi 第2张


        错误2:Unable to find GatewayFilterFactory with name StripPreFix   java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name StripPreFix

        Unable to find RoutePredicateFactory with name path java.lang.IllegalArgumentException: fi 第3张


            解决方案:"StripPrefix与"后面的"="之间不能有空格或者单词拼写错误,正确的为StripPrefix,比如错误的写法写成了StripPreFix

            





此篇文章由DurkBlue发布,转载请注明来处
文章投稿或转载声明

来源:DurkBlue版权归原作者所有,转载请保留出处。本站文章发布于 01-19
温馨提示:文章内容系作者个人观点,不代表DurkBlue博客对其观点赞同或支持。

赞(1)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

阅读
分享