Currently I tried to upgrade a webservice system from Websphere 6 to Websphere 8.5.
However I got this kind of issues
CWNEN0044E: A resource reference binding could not be found for the /wsContext resource reference, defined for the component.
Inside the source code, that part only contains
@Resource
WebServiceContext wsContext;
This error will be gone if I switch class loader policy from parent last to parent first.
However, do you know is there anyway to avoid this error with "parent last"?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…