Could not resolve element type of Iterable type xxxxx.RequestParam java.util.List<?>. Not declared?

简介: Could not resolve element type of Iterable type xxxxx.RequestParam java.util.List<?>. Not declared?

今天在使用OpenFeign远程调用其他消费者时,出现了下面这个错误

Could not resolve element type of Iterable type @org.springframework.web.bind.annotation.RequestPa

下面是我们服务调用方的接口方法声明

c9fc0b04db7243a193393bcd2759db06.png错误的提示: 对这个泛型并没有具体的定义

修改之后我们重新启动服务,可以看到启动成功!


bd9a5aa907554e76946919b8ab1a2609.png

相关文章
java.lang.Error: Unresolved compilation problem: The type List is not generic; it cannot be parame
java.lang.Error: Unresolved compilation problem: The type List is not generic; it cannot be parame
|
3月前
|
JavaScript
Vue报错 Invalid default value for prop “list“: Props with type Object/Array must use a factory
Vue报错 Invalid default value for prop “list“: Props with type Object/Array must use a factory
202 0
|
12月前
|
Java
java——成功解决cannot resolve symbol ‘xxx’
java——成功解决cannot resolve symbol ‘xxx’
|
NoSQL MongoDB PHP
Yii2使用Mongodb配置并解决SyntaxError: missing ] after element list以及Authentication failed
Yii2使用Mongodb配置并解决SyntaxError: missing ] after element list以及Authentication failed
282 0
Yii2使用Mongodb配置并解决SyntaxError: missing ] after element list以及Authentication failed
解决办法:Type safety: The expression of type List needs unchecked conversion to conform
解决办法:Type safety: The expression of type List needs unchecked conversion to conform
281 0
|
Linux 开发工具 开发者
有关Linux系统出现Malformed line 1 in source list /etc/apt/sources.list (type)问题的解决方式
以下内容仅代表个人意见,本人亲测有效,如果没有效果可以现将之前的sources.list备份的文件恢复 重要的事情说三遍:记得备份,记得备份,记得备份 本文中所阐述的问题大致是因为由于不正常的关闭影响的sources.list文件的异常,以导致这种问题生成的原因,因此在这里考虑进行重新创建sources.list文件来解决问题的处理方式 本蒟蒻在昨晚做Linux(我用的是Debian,教学要求 )的时候,因为要在 /etc/apt/sources.list里添加一些东西,但是更改完之后,发生了错误:
772 0
有关Linux系统出现Malformed line 1 in source list /etc/apt/sources.list (type)问题的解决方式
SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-
SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-
SAP QM 执行事务代码QP01,系统报错 -Material type FOOD is not defined for task list type Q-
|
Java Spring
报错:Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder ‘oss.ossDomain‘
报错:Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder ‘oss.ossDomain‘
518 0
|
XML 数据格式
使用SearchView报错java.lang.UnsupportedOperationException: Failed to resolve ...
SearchView是appcompat-v7中的一个组件,能够更快的实现一些基本的功能 但是在布局中使用android.support.v7.widget.SearchView,打开该页面会crash,查看错误是加载布局出问题了
830 0