Bootstrap

【Spring】Expected lookupPath in request attribute springframework UrlPathHelper PATH

在这里插入图片描述

1.概述

今天试了一下动态创建 requestMapping,文章参考:【Spring】SpringBoot动态生成接口。报错如下:

java.lang.IllegalArgumentException: Expected lookupPath in request attribute "org.springframework.web.util.UrlPathHelper.PATH".
	at org.springframework.util.
;