したがって、私はPOJOクラスにプロパティSQL.Dateを持っています。私はVaadin Componentからバインダーを使用して、それをバインドしたいのですが、いつものように返さ:だからここSQLを持つDateField Vaadinコンポーネント日付
Property type 'java.sql.Date' doesn't match the field type 'java.time.LocalDate'. Binding should be configured manually using converter.
をPOJOクラス
public Date getDateOfBirth() {
return dateOfBirth;
}
public void setDateOfBirth(Date dateOfBirth) { this.dateOfBirth = dateOfBirth; }
をに含まれている私のゲッターセッターだと私は、バインダー成分を使用したときに、ここです:
binder = new Binder<>(Person.class);
binder.bindInstanceFields(this);
参考までに、私はSpring Boot JPAをデータとして使用しています。エラーメッセージとSpring Bootの使用法には関係がありますか?
どのバージョンですか? Vaadin8? – pirho
はい、Vaadin 8.0.0 –
完全なスタックトレースを提供しないと、どのlibがそのスタックを引き起こしているのかを知ることは難しいです。 –