Missing Class from primefaces jar please help

UI Components for JSF
Post Reply
Posts: 1
Joined: 28 Dec 2017, 22:29

28 Dec 2017, 22:32

I was trying to look at the primefaces showcase calendar example(https://www.primefaces.org/showcase/ui/ ... ndar.xhtml CalendarView.java) but couldn't find this import import org.primefaces.PrimeFaces;
Wheres the Class file?
Its not in the primefaces-6.1 .jar

Jan Eckert
Posts: 84
Joined: 11 Sep 2014, 10:13
Location: Brussels, Belgium

29 Dec 2017, 11:25


Your finding is correct. org.primefaces.PrimeFaces is not part of PrimeFaces 6.1

But the Showcase is running on PrimeFaces 6.2-SNAPSHOT (as you can see in the POM on GitHub https://github.com/primefaces/showcase/ ... er/pom.xml or by going to the Showcase on the web https://www.primefaces.org/showcase/index.xhtml and scrolling to the bottom right.

When you look into the code https://github.com/primefaces/primeface ... primefaces you can see the new class that is missing in your project because of the wrong version.

To fix this: Since 6.2-SNAPSHOT is published neither on Maven central nor the Primefaces repo, check it out from Github, build it yourself with 'mvn install' and your maven project can access the SNAPSHOT version from your local maven repository. In case of questions, shoot!

(complementary question: Is there a snapshat repo of PF I am not aware of?)
Primefaces 6.1+
Wildfly 11

Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

29 Dec 2017, 11:53

Jan Eckert wrote:
29 Dec 2017, 11:25
(complementary question: Is there a snapshat repo of PF I am not aware of?)
No there is not (unfortunately not)...

(To prevent answering wrongly I assume with 'snapshat' you meant snapshot and not snapchat ;) )

PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE

29 Dec 2017, 12:55

"PrimeFaces" is just a new end-user utility instead of the old RequestContext. So you can still find every method in RequestContext, maybe just with a little bit different name. REquestContext will be refactored in 6.3.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 0 guests