@Павел
Ошибка "template might not exist or might not be accessible by any of the configured Template Resolvers" при этом данные удачно обновляются
Контроллер
@PutMapping(value = "/**/offerSellStatusValue")
protected void change(
@RequestBody Offer offer) {
this.offerRepository.changeSellState(offer.getSoldState(), offer.getId());
}
Запрос
$.ajax({
url: "/" + currentUserRoleName + '/offerSellStatusValue',
scriptCharset: 'UTF-8',
method: 'PUT',
mimeType: 'application/json',
contentType: 'application/json',
data: JSON.stringify({soldState: value, id: offerIdValue}),
complete: function (data) {
console.log("change status is Ok =)");
}
});