开发者

Error : Failed to load WS-Security Policy definition from classpath resource: META-INF/policy.xml

I am getting error when i calling webservices java file.

Even i included the Policy.xml in that location , eventhough gett开发者_运维百科ing error. Failed to load WS-Security Policy definition from classpath resource: META-INF/policy.xml

Please let me what is reason is behind ?


META-INF/Policy.xml is not the same as META-INF/policy.xml... in your example you show that you've included it with a capital P. If that's the case, try renaming it at to lowercase 'policy.xml' and see if it works.

If that fails, open your WAR file and make sure that it's actually in the META-INF directory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜