I just upgraded to 4.0.16 and my Primefaces web app failed with this 
exception:
  javax.faces.FacesException: Error loading theme, cannot find 
"theme.css" resource of "primefaces-aristo" library
   at 
org.primefaces.renderkit.HeadRenderer.encodeTheme(HeadRenderer.java:114)
   at 
org.primefaces.renderkit.HeadRenderer.encodeBegin(HeadRenderer.java:71)
   at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
   ...

The code in HeadRenderer is:
Resource themeResource = 
context.getApplication().getResourceHandler().createResource(resource, 
library);
if(themeResource == null) {
     throw new FacesException("Error loading theme, cannot find \"" + 
resource + "\" resource of \"" + library + "\" library");
}

This looks to me like it could be another manifestation of the 
classloader issue reported earlier.

4.0.15 and prior work fine. I have reproduced this with the simplest 
"hello world" Primefaces example app.

Regards,
Peter





_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to