CharacterEncodingFilter issue with wildfly

Post Reply
vick25
Posts: 2
Joined: 02 Jun 2015, 14:41

14 Jul 2019, 11:23

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

aragorn
Posts: 3706
Joined: 29 Jun 2013, 12:38

18 Jul 2019, 09:48

Please check CharacterEncodingFilter file in your project. You can find it in our sample project.

Best Regards,

vick25
Posts: 2
Joined: 02 Jun 2015, 14:41

18 Jul 2019, 10:01

@aragorn Okay. Thanks. Problem fixed.

aragorn
Posts: 3706
Joined: 29 Jun 2013, 12:38

18 Jul 2019, 10:32

Thanks a lot for the update!

Best Regards,

Post Reply

Return to “Roma - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest