Property [renew] not found. Using default value [false]

接口请求时,报错Property [renew] not found.  Using default value [false]

返回:

There was an unexpected error (type=Not Found, status=404).

有两种可能:

1、添加扫描路径

使用basePackages:

@ComponentScan(basePackages = { "com.person","com.controller"} )

2、添加依赖

在启动模块start中,要依赖controller所在的模块

cccg
api-impl

posted @ 2024-04-08 09:48  木头左  阅读(4)  评论(0编辑  收藏  举报