Could not load extension class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl

烈酒焚心 提交于 2019-12-23 16:20:29

问题


I'm running junit on a class that is configured for cxf. I get this error Caused by: org.apache.cxf.bus.extension.ExtensionException: Could not load extension class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl. when I ask Spring to retrieve the instance on he class. maven dependency includes cxf 2.7.4 (cxf-rt-ws-policy-2.7.4.jar) and I see neethi 3.0.2.jar is also included. Another post mentioned an issue if neethi 2.x was used with cxf 2.x. but this is not my case.

来源:https://stackoverflow.com/questions/31168279/could-not-load-extension-class-org-apache-cxf-ws-policy-assertionbuilderregistry

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