aspose file tools*
The moose likes JSF and the fly likes Problem: JSF with PrimeFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem: JSF with PrimeFaces" Watch "Problem: JSF with PrimeFaces" New topic
Author

Problem: JSF with PrimeFaces

Faisal Fuad
Ranch Hand

Joined: Jul 05, 2011
Posts: 79

Hi everyone, please help me to find my mistake. I was trying to run simple "Hello World" PrimeFaces example as explained in their doc but couldn't run successfully.

In PrimeFaces Doc 3.3 it says I should be able to run the following code after confirming two dependencies such as "Java 5+ runtime" and "JSF 2.x"

Now, my config is as follows:
Eclipse: INDIGO
Server: Websphere 7
Project Facets: JavaServer Faces 2.0
Java Build Path:
-JSF 2.0 (Apache Myfaces JSF Core-2.0 API 2.0.2)
-JSTL : jstl-api-1.2.jar, jstl-impl-1.2.jar
-Primefaces: primefaces-3.3.1.jar
Simple web.xml is as follows:

faces-config.xml is as follows:

And finally "index.jsp" page is as follows:
When I am running the application by going to this URL: (http://localhost:9089/Perfectgaces/faces/index.jsp) seeing only "Hello World !" but no rich text editor from primefaces-3.3.1.jar

Where I am doing the mistake? Thanks a lot
=================
Ok.....I am seeing these two exceptions in console. Any clue?


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem: JSF with PrimeFaces