I´ve got a problem and I need some help to fix it!
I´ve set up a web project and I try to use RichFaces 4.1.0 for my user interface.
Everything works fine but when I try to use Richfaces 4.1.0 in my project i get the following exception:
java.lang.IllegalArgumentException: WEB9037: Illegal JAR entry detected with name META-INF/COPYRIGHT.html
My project works fine with JSF 2.0 and without RichFaces - I get this exception when I include the necessary libs for RichFaces and its 3-Party vendors.
I´ve done the same like this HowTo says - with all these libs (and the same version): https://community.jboss.org/wiki/HowToAddRichFaces4xToProjectsNotBasedOnMaven
I´m using Glassfish 3.1, JSF 2.0 (Mojarra 2.0.3-FCS), Java 1.6, EJB 3.1, EclipseLink 2.3.2 and Eclipse Indigo (Release 20110615-0604).
Attached are my web.xml and faces-config.xml. Also (if relevant) my Stacktrace from Glassfish server.
I´m interested in every kind of help - Thank you guys!
problem seems to be in SAC library (RichFaces depends on that), which contains META-INF/COPYRIGHT.html file.
Let's delete COPYRIGHT.html from that lib to get it working.
I'm not convinced that that Glassfish behavior is correct here, I would suggest you to consult with Glassfish guys.