change ValidatedItem to ErrorItem
fixing pom.xml