How to add richfaces to maven project

独自空忆成欢 提交于 2019-12-02 07:17:01

First of all, your problem is that you're not adding the dependencies at all.You only have the BOM added, but you need to add the other dependencies as the tutorial of using Richfaces with Maven says. Adding the BOM you're only declaring which version of the library you want to use, but not attaching the dependencies themselves.

<dependency>
    <groupId>org.richfaces.ui</groupId>
    <artifactId>richfaces-components-ui</artifactId>
</dependency>
<dependency>
    <groupId>org.richfaces.core</groupId>
    <artifactId>richfaces-core-impl</artifactId>
</dependency>

Later on, you only need to specify the Faces Servlet in the web.xml file to have RichFaces working. Take a look to this entry too.

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