Page 1 of 1

CharacterEncodingFilter issue with wildfly

Posted: 14 Jul 2019, 11:23
by vick25
Hello,
I purchased the Roma theme just a few days. When I deploy on Payara or Wildfly I see the exception:
java.lang.ClassNotFoundException: org.primefaces.roma.filter.CharacterEncodingFilter

On the Payara server, I can still run the theme and components. On Wildfly it won't deploy at all. Though inside the web.xml I have
<filter>
<filter-name>Character Encoding Filter</filter-name>
<filter-class>org.primefaces.roma.filter.CharacterEncodingFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>Character Encoding Filter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>

I manually added the roma-theme-2.0.1.jar file as a maven dependancy. The only classes that show in my project from this are
org.primefaces.roma.component.RomaMenu$PropertyKeys.class
org.primefaces.roma.component.RomaMenu.class
org.primefaces.roma.component.RomaMenuRenderer.class

Hope to have some help.
Thanks

Re: CharacterEncodingFilter issue with wildfly

Posted: 18 Jul 2019, 09:48
by aragorn
Please check CharacterEncodingFilter file in your project. You can find it in our sample project.

Best Regards,

Re: CharacterEncodingFilter issue with wildfly

Posted: 18 Jul 2019, 10:01
by vick25
@aragorn Okay. Thanks. Problem fixed.

Re: CharacterEncodingFilter issue with wildfly

Posted: 18 Jul 2019, 10:32
by aragorn
Thanks a lot for the update!

Best Regards,