This is a sample maven project that uses Latest PrimeFaces Release version. If you have a PrimeFaces issue, please download or fork this project. Then, you should change these files by yourself so that PrimeFaces Team can see your problem. Finally, you can send a link or attach the project. Please make sure that project is runnable with the command below.
You can execute the sample with mvn jetty:run command and hit http://localhost:8080/ to run the page.
Per default the application uses Mojarra 2.3.x. You can also use other versions with the available maven profiles: myfaces23, myfaces23next, mojarra23
mvn clean jetty:run -Pmyfaces23
mvn clean jetty:run -Pmyfaces23next
mvn clean jetty:run -Pmojarra23
By default the application runs on port 8080 but if you would like to use a different port you can pass -Djetty.port=5000
like:
mvn clean jetty:run -Djetty.port=5000
The branch jakarta
contains a PrimeFaces Test setup to run again Jakarta EE10 profile using Jetty 11. You can also use other versions with the available maven profiles: mojarra40, myfaces40
mvn clean jetty:run -Pmojarra40
mvn clean jetty:run -Pmyfaces40
The branch jpa
contains a PrimeFaces Test setup to run with JPA using the JPA LazyDatatable advanced example.
See the quickstart guide for running in Visual Studio Code for more information.