作用primefaces后页面没效果

来源:互联网 发布:wind数据库如何使用 编辑:程序博客网 时间:2024/04/30 07:00

作用primefaces后页面没效果,且出现如下提示:

One or more resources have the target of 'head', but no 'head' component has been defined within the view.

我将页面的<head/>标签改成<h:head/>,可解决此问题。