I do not work Primefaces in eclipse

-1

I have been trying to implement primefaces in an eclipse project but I can not make it work, JSF works well in the project but when I try to add components of primefaces to the project the result in the browser is a blank page, the only thing that I can use normally are the components of pure JSF, then I show the eclipse configurations:

The download of primefaces was with Maven, try adding the jar aside but it did not work for me either

and here I show the configuration of the web.xml file

I use Groovy / Grails Tool Suite 3.6.4.RELEASE

    
asked by Fabian 20.03.2017 в 05:50
source

2 answers

0

You have added the dependencies in the pom.xml, but make sure that I save them by downloading them using a deploy dependency, in addition to make sure that it is not the boostrap theme that stopped working, change the boostrap theme to

<dependency>  
        <groupId>org.primefaces.themes</groupId>  
        <artifactId>all-themes</artifactId>  
        <version>1.0.10</version>  
</dependency>

I also recommend that you use netbeans from my point of view it is much simpler to use compared to eclipse, I leave you a tutorial that helped me to learn JSF 2.0 from scratch

link

Greetings!

    
answered by 20.03.2017 в 07:23
-2

Hello friend, for me eclipse is much more robust, what you need is to add the dependency primefaces and the property.

Property:

<properties>
     ......
   <primefaces.version>5.3</primefaces.version>
    ......
</properties>

Dependency:

<dependencies>
    <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>${primefaces.version}</version>
    </dependency>
<dependencies>

Greetings !!!

    
answered by 23.03.2017 в 05:38