Is it possible to Autowire an object in a Validation class? I keep getting null for the object that is supposed to be Autowired...
Trying to follow what you show above, I am still getting a null pointer:
context.xml:
AccessRequestValidator.java
package com.wuntee.taac.validator;
@Component
public class AccessRequestValidator implements Validator {
@Autowired
private UserAccessCache userAccessCache;
...
}
business-context.xml:
Does the scanner recursively scan the tree?