接口请求时,报错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所在的模块
<dependency>
<groupId>cccg</groupId>
<artifactId>api-impl</artifactId>
</dependency>
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。