Page 1 of 1

Cannot load css on launch

Posted: 29 May 2015, 12:55
by jo.smith.beckett
Hi

When deploying the theme, I get the following error:

SEVERE: Error loading css, cannot find "theme.css" resource of "primefaces-ronin" library
javax.faces.FacesException: Error loading css, cannot find "theme.css" resource of "primefaces-ronin" library
at org.primefaces.renderkit.HeadRenderer.encodeCSS(HeadRenderer.java:139)
at org.primefaces.renderkit.HeadRenderer.encodeBegin(HeadRenderer.java:76)

I have just successfully deployed sentinel in the same way, no problems.

Re: Cannot load css on launch

Posted: 30 May 2015, 17:02
by soupkodjou
Hi,

I was able to easily load Ronin theme. You need to make sure ronin jar file is available from your classpath.

Thanks.

Re: Cannot load css on launch

Posted: 31 May 2015, 11:55
by cagatay.civici
Is ronin theme jar in your classpath?

Re: Cannot load css on launch

Posted: 02 Jun 2015, 13:11
by jo.smith.beckett
Sorry, I think it was a stale war file.
Did a clean and rebuild on my project, and it works. Was just thrown off because I didn't need to do it when installing sentinel.
Apologies.