Я не вижу нигде ошибок, но валидацию не проходит
P.S. Product и ProductController я удалила, но при создании вопроса они все равно появились, не обращайте на них внимание
package com.javarush.task.task18.task1827;
public class Product {
private Integer id;
private String name;
private String price;
private String quantity;
public Product() {
}
public Product(Integer id, String name, String price, String quantity) {
this.id = id;
this.name = name;
this.price = price;
this.quantity = quantity;
}
public Integer getId() {
return id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPrice() {
return price;
}
public void setPrice(String price) {
this.price = price;
}
public String getQuantity() {
return quantity;
}
public void setQuantity(String quantity) {
this.quantity = quantity;
}
}