Warning: This page calls for XML namespace http://www.facebook.com/2008/fbml declared with prefix fb but no taglibrary exists for that namespace

前端 未结 1 401
情书的邮戳
情书的邮戳 2020-12-10 19:42

I am developing an application for FB Login with website using Javascript. I tried in html it works fine. when i convert into JSF it gives an error.

This is my

相关标签:
1条回答
  • 2020-12-10 20:04

    You will get this when you have set javax.faces.PROJECT_STAGE to Development in webapp's web.xml and Facelets encounters a XML namespace which it could not resolve to a JSF compatible tag library. This warning is just displayed to inform a (starting) developer about a possible unforeseen typo in the XML namespace or mistake in tag library configuration.

    However, the XML namespace in question in this particular case actually referring an external Facebook JavaScript API, not a JSF tag library such as PrimeFaces, OmniFaces, etc. Your code is completely fine.

    You can just ignore this warning. This warning won't appear when you set the JSF project stage back to Production, or when you remove the whole context parameter (it defaults to Production already).

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