JSF 2.2.x / theme.css & Tomcat

UI Components for JSF
Post Reply
domdidom
Posts: 2
Joined: 29 Apr 2013, 23:03

15 Oct 2013, 09:43

Hi,

After changing JSF from 2.2.26 to 2.2.x I have an already known bug when deployed in tomcat :

Code: Select all

INFO: Exception when handling error trying to reset the response.
javax.faces.FacesException: Error loading theme, cannot find "theme.css" resource of "primefaces-aristo" library
	at org.primefaces.renderkit.HeadRenderer.encodeTheme(HeadRenderer.java:117)
	at org.primefaces.renderkit.HeadRenderer.encodeBegin(HeadRenderer.java:72)
But,
- Everything is ok in 2.1.26 (with the same configuration except the dependency in the pom.xml file). Both jetty and tomcat are working with the generated war.
- Everything is ok in 2.2.x with jetty (maven plugin) but execution failed in tomcat.

I've checked that my web.xml has the right parameters, that the jars files are in the right directory.

I tested all 2.x versions and it fails.

I've also tested to extract the aristo theme from the jar and placed it the source project resources : the theme.css is found (but the display doen't work that much which was expected).

Any suggestions?

Thanks.

Note : I use :
- the lasted release (4.0) of PrimeFaces.
- JSF mojarra implementation
- Tomcat 7.0.40 & Jetty plugin 8.1.10

michael.amann
Posts: 6
Joined: 15 Apr 2014, 12:12

15 Apr 2014, 12:16

Hi everybody,

I got the same issue in my environment. Did anyone solve it?

Regards
Michael

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests