首页 > 其他分享 >Property [renew] not found. Using default value [false]

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

时间:2024-04-08 09:58:18浏览次数:19  
标签:false default value renew Using Property

接口请求时,报错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

标签:false,default,value,renew,Using,Property
From: https://www.cnblogs.com/bigleft/p/18120479

相关文章