can you try running it with Mojarra 2.2.6? That one is supported so if it still doesn't work the issue might be in your app. The resource servlet registers itself automatically, so you don't need to have it in web.xml.
Using 2.2.6 does not seem to have resolved anything.
Edit: Temporarily commented out my filter and faces components, but the problem still happens. I have to investigate the rest of my configuration at this point.
Edit: All right, so richfaces-core-4.5.0.Beta2-sources.jar!\org\richfaces\resource\mapping\ResourceServletMapping.java line 84 is where the string literal lives. context.getApplication().getResourceHandler().createResource(resourceKey.getResourceName(), resourceKey.getLibraryName()) return null. Will be diving into that call to figure out why it is doing this. To be clear, getResourceName() and getLibraryName() both return what look like valid values.
I traced the code down as much as I possibly could. RF4.5 is using the JSF resources stuff, but it seems like JSF is not returning any resources at all used by RF. I'm not sure which side is at fault, but the full library name and resource name is provided. I saw it go through several different loaders to try and find the resource. I think at this point I have to revert back to JSF 2.1 and deal with the consequences of that.
Hi, were you able to reproduce with a minimal application? It works fine for me with Mojarra 2.2.6. I have same web.xml configuration as you do.
I have not had a chance to do that yet. I had to revert my project back to 2.1.29 for the time being. I might not have time to try that for a little bit, but I hope I can.