我试图显示一个表(Java,Spring,AngularJs),但出现以下错误:
using System;
using System.Windows.Automation;
namespace UIAMemoryLeak
{
class UIAutomationWorker
{
public void SubscribeFocusChange()
{
try
{
// Hook Focus Change Event
Automation.AddAutomationFocusChangedEventHandler(UIAFocusChange);
}
catch (Exception ex)
{
throw ex;
}
}
private void UIAFocusChange(Object sender, AutomationFocusChangedEventArgs e)
{
// Do Nothing
}
}
}
Java控制器:
`org.springframework.beans.InvalidPropertyException: Invalid property 'columns[0][data]' of bean class [org.springframework.data.jpa.datatables.mapping.DataTablesInput]: Property referenced in indexed property path 'columns[0][data]' is neither an array nor a List nor a Map; returned value was [org.springframework.data.jpa.datatables.parameter.ColumnParameter@d0dd2f6]`
角度控制器:
`@RequestMapping(path = "/consultasTable", method = RequestMethod.GET)
@ResponseBody
public DataTablesOutput<ConsultaDto> getConsultas(@Valid DataTablesInput input) {
DataTablesOutput<ConsultaDto> output = consultaService.findAllTable(input);
return output;
}`
我不知道什么是'columns [0] [data]',我知道这是一种错误类型,但是我找不到