摘要: 记录SpringCloud在整合gateway网关遇到的一些错误 &nbs...
记录SpringCloud在整合gateway网关遇到的一些错误
错误1:Unable to find RoutePredicateFactory with name path java.lang.IllegalArgumentException: Unable to find RoutePredicateFactory with name path
出现这个错误是个简单的错误。说明你在yam文件中把gateway的路径单词写错了。path应该写成Path
错误2:Unable to find GatewayFilterFactory with name StripPreFix java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name StripPreFix
解决方案:"StripPrefix与"后面的"="之间不能有空格或者单词拼写错误,正确的为StripPrefix,比如错误的写法写成了StripPreFix
发表评论取消回复