WAS 8.5, How to avoid annotation scanning?

∥☆過路亽.° 提交于 2019-12-04 13:00:39

WebSphere provides JAX-WS runtime. So I'd suggest you to remove any JAX-WS related jars from your application and use WebSphere provided implementation. See if you still will have errors.

If you want to use third party provider you will need to disable WebSphere JAX-WS runtime for your application.

To turn off annotation scanning at the application level, set the DisableIBMJAXWSEngine property in the META-INF/MANIFEST.MF of a WAR file or EJB module to true. Example:

Manifest-Version: 1.0
DisableIBMJAXWSEngine: true

Check for details this page: Using a third-party JAX-WS web services engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!