Added java validation error spans