Your application must contain a JAR with the WebServiceContext
class, which is preventing the server from recognizing this type as a "builtin" object for it to inject because you're using "parent last". If you must use "parent last", then your options are:
Remove the JAR containing
WebServiceContext
from your application. This option assumes you need "parent last" in order to override some other class from the server but not webservices classes.Remove the
@Resource
annotation. This option assumes you are trying to override the webservice implementation. In that case, you can't rely on container injection.