Property referenced in indexed property path is neither an array nor a List nor a Map

记一次传参请求报错,没有解决

Invalid property 'distributeCars[0][ackStatus]' of bean class [com.api6.plate.prototype.dailyoffice.car.entity.ApprovalForCar]: Property referenced in indexed property path 'distributeCars[0][ackStatus]' is neither an array nor a List nor a Map; returned value was [com.api6.plate.prototype.dailyoffice.car.entity.DistributeCar@11;id=null]

Property referenced in indexed property path is neither an array nor a List nor a Map

$.ajax({
url: "${pageContext.request.contextPath}/app/carmange/saveSupplemental",
data: $form.serialize()+'&'+JSON.stringify($.param(data)),//获得表单数据
dataType:'json',
success: function(m){

 复杂传值list 如果是distributeCars[0].ackStatus,就可以。

 

上一篇:NandFlash和NorFlash的异同


下一篇:radial profiles of mean streamwise velocity at X/D=3