Unable to find or serve resource primefaces.css

Locked
doons
Posts: 11
Joined: 09 Oct 2015, 09:32

17 Feb 2017, 08:51

Hello,

I have this warning when deploying my app on glassfish 4.0 server (with the primefaces-sentinel 2.0 jar) :
Unable to find or serve resource, primefaces.css, from the primefaces library
Unable to find or serve resource, primefaces.js, from the primefaces library
But I don't know what to do :oops:

Could someone help me to fix this warning ?
Thanks for your help
PrimeFaces 5.3 / JSF 2.0 / Glassfish 4

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

21 Feb 2017, 11:53

What PF-version are you using?

Please see '5.3 to 6.0' section; https://github.com/primefaces/primeface ... tion-Guide

doons
Posts: 11
Joined: 09 Oct 2015, 09:32

21 Feb 2017, 12:23

Thank you for your response.

I'm using PF 6.0.
I don't have the source code to change
@ResourceDependency(library="primefaces", name="primefaces.js")
to
@ResourceDependency(library="primefaces", name="core.js"), @ResourceDependency(library="primefaces", name="components.js")
or I don't know where I can change that.
PrimeFaces 5.3 / JSF 2.0 / Glassfish 4

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

22 Feb 2017, 12:08

We have the following github issue related to this topic; https://github.com/primefaces/layouts/issues/87

Can you please try this issue after updating Sentinel version? Also, do you add primefaces.css or primefaces.js to a page?

doons
Posts: 11
Joined: 09 Oct 2015, 09:32

23 Feb 2017, 08:32

Ok, now I'm using sentinel-theme-2.1.2.jar.
I don't add primefaces.css nor primefaces.js to a page

I'm sorry but I don't understand how github issue works :oops:
What I can see on this page is
with 6.0 and 5.x
and 2 references
PrimeFaces 6.0 Modena Bug: primefaces.css/js not found primefaces/primefaces#1509
Closed
Primefaces 6 Calendar Bug primefaces/primefaces#1506
How can I try this issue ? What I have to do ?

Thnaks
PrimeFaces 5.3 / JSF 2.0 / Glassfish 4

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

07 Mar 2017, 15:51

I think you can examine processEvent method in SentinelMenu.java. We add resources according to PrimeFaces version.

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests