STS-3360: autowired validation does not flag environment as missing dependency anymore