开发者

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

开发者 https://www.devze.com 2023-03-15 01:30 出处:网络
I am getting error when i calling webservices java file. Even i included the Policy.xml in that location , eventhough gett开发者_运维百科ing error.

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

精彩评论

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