java.lang.RuntimeException: не удалось вызвать публичный javax.xml.datatype.XMLGregorianCalendar () без аргументов в com.google.gson.internal.ConstructorConstructor $ 3.construct (ConstructorConstructor.java:113) в com.google.gson.internal.bind.internal.bind.ReflectiveTypeAdapterFactory $ Adapter.read (ReflectiveTypeAdapterFactory.java:222)
IServiceDetailsService detailsService;
@RequestMapping(value = "/getServiceHire",method = RequestMethod.POST ,produces = "application/json")
public String getDetailServices(@RequestBody HistoricalMarketRequest marketRequest){
Gson gson = new Gson();
List<ServiceDetails> detailsList = new ArrayList<>();
String jsonDetails = "";
Logger logger = Logger.getLogger(ServiceDetailRest.class);
@Autowired
@Qualifier("ServiceDetailImpl")
IServiceDetailsService detailsService;
@RequestMapping(value = "/getServiceHire",method = RequestMethod.POST ,produces = "application/json")
public String getDetailServices(@RequestBody HistoricalMarketRequest marketRequest){
Gson gson = new Gson();
List<ServiceDetails> detailsList = new ArrayList<>();
String jsonDetails = "";
Как использовать XMLGregorian календарь из Rest Json?
Мне нужно получить дату из остальных