记录下   报错信息如下

org.springframework.web.method.annotation.MethodArgumentConversionNotSupportedException: Failed to convert value of type 'java.lang.String[]' to required type 'java.util.List'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'com.service.product.domain.DistributorProduct': no matching editors or conversion strategy found
at org.springframework.web.method.annotation.

 

解决

controller  接受 List 对象集合  使用   

@RequestBody   不要使用@RequestParam


 
                    
            
                

相关文章:

  • 2021-04-18
  • 2021-11-19
  • 2021-12-13
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-04
  • 2021-05-16
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
相关资源
相似解决方案