I am missing something real simple. I am trying to add a @Resource annotation to a setter method.
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
.
.
@Resource
public void setCenter(Point center) {
this.center = center;
}
I got the following error. What is it looking for ?