Error while deploying Primefaces-Extensions example, why?

Deployment error: application loading exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.lang.ClassNotFoundException : org.apache.commons.lang3.StringEscapeUtils The module has not been deployed.

This is my code:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:pe="http://primefaces.org/ui/extensions"> <f:view contentType="text/html" locale="en"> <pe:head title="PrimeFaces Extensions - ShowCase"> <f:facet name="first"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="pragma" content="no-cache"/> <meta http-equiv="cache-control" content="no-cache"/> <meta http-equiv="expires" content="0"/> </f:facet> </pe:head> <h:body> <pe:layout> <pe:layoutPane position="north"> <ui:insert name="header"/> </pe:layoutPane> <h:form> <ui:insert name="center"/> <pe:layoutPane position="south"> <ui:insert name="footer"/> </pe:layoutPane> </h:form> </pe:layout> </h:body> 

+4
source share
2 answers

As said at the beginning of the work on the perffaces extensions project at https://github.com/primefaces-extensions/primefaces-extensions.github.com/wiki/Getting-Started , you need to add "Apache Commons Lang3" to your project.

Add Apache Commons Lang3 to your project if it is not in the classpath.

You can download the library from http://commons.apache.org/proper/commons-lang/

+8
source

According to the information recorded in the "Initial Interface Extensions" Getting Started

Dependencies of the PF extensions:

Good luck.

+2
source

Source: https://habr.com/ru/post/1481012/


All Articles