5

Error while deploy: Exception while loading the app : 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>

meyquel
  • 1,944
  • 4
  • 21
  • 39
  • how many lib I need??? common-lang3.jar, com.google.gson.GsonBuilder?? how can i begin... using facelet, netbean... – meyquel May 15 '13 at 19:19

2 Answers2

8

As told in the getting started for primefaces extensions project on 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's not in classpath.

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

Serkan Arıkuşu
  • 5,329
  • 5
  • 31
  • 50
  • I have other problem: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder, I can not download this library because my country (Cuba) is blocked by google... Can help me for download from other site?? – meyquel May 15 '13 at 19:38
  • Maybe you can try maven repository to download the jar http://mvnrepository.com/artifact/com.google.code.gson/gson/2.2.3 – Serkan Arıkuşu May 15 '13 at 20:26
2

According to the information written on the Primefaces Extensions Getting Started

PF Extensions Dependencies :

Good luck.

serifsadi
  • 593
  • 6
  • 21