A resource reference binding could not be found

后端 未结 1 453
失恋的感觉
失恋的感觉 2020-12-21 22:36

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

相关标签:
1条回答
  • 2020-12-21 23:00

    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:

    1. 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.

    2. 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.

    0 讨论(0)
提交回复
热议问题