How to add richfaces to maven project

后端 未结 1 339
粉色の甜心
粉色の甜心 2021-01-25 06:51

I\'m trying to use popup component in my app. I use JSF, Glassfish. Here\'s my pom.xml:



        
1条回答
  •  不知归路
    2021-01-25 07:33

    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.

    
        org.richfaces.ui
        richfaces-components-ui
    
    
        org.richfaces.core
        richfaces-core-impl
    
    

    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.

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