With Eclipse, setting up a simple Web Application with JSF and deploying it to Wildfly is a long, frustrating struggle.
With Netbeans, it takes 10 seconds.
File / New Project, Java Web / Web Application, project name "WebApplication1", server : select Wildfly server, Java EE Version: Java EE 7 Web, context path: /WebApplication1, Frameworks: select JavaServer Faces, in the components tab select Primefaces (the first time iyou haveto wait 10 seconds while it fetches the dependencies "JSF library Primefaces not setup correctly..." )
Right click on the Project, Run... it will open http://localhost:8080/WebApplication1/ and you are ready to go.
What Netbeans generates is:
The only issue I had with Netbeans 8.2 is that it's not compatible with Java 9, I had to edit netbeans.conf and change netbeans_jdkhome to point to JDK 8.
With Netbeans, it takes 10 seconds.
File / New Project, Java Web / Web Application, project name "WebApplication1", server : select Wildfly server, Java EE Version: Java EE 7 Web, context path: /WebApplication1, Frameworks: select JavaServer Faces, in the components tab select Primefaces (the first time iyou haveto wait 10 seconds while it fetches the dependencies "JSF library Primefaces not setup correctly..." )
Right click on the Project, Run... it will open http://localhost:8080/WebApplication1/ and you are ready to go.
What Netbeans generates is:
The only issue I had with Netbeans 8.2 is that it's not compatible with Java 9, I had to edit netbeans.conf and change netbeans_jdkhome to point to JDK 8.