2 Replies Latest reply: Mar 11, 2013 2:56 AM by Nilum RSS

    Exception: weblogic.application.ModuleException: Failed to webapp:

    user732107
      Hello ,

      I am getting the following when trying deploy our application on to standalone WLS (PS6RC1) Any help is greatly appreciated.

      --------------------------
      [04:33:05 PM] Entering Oracle Deployment Plan Editor
      [04:33:18 PM] Deploying Application...
      [04:34:16 PM] [Deployer:149193]Operation 'deploy' on application '<appnName>' has failed on 'AdminServer'
      [04:34:16 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application '<appnName>' on AdminServer.: Failed to load webapp: '<appnName>'.
      [04:34:16 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: '<appnName>'
      [04:34:16 PM] Caused by: java.lang.NoClassDefFoundError: javax/faces/webapp/ConverterELTag
      [04:34:16 PM] See server logs or server console for more details.
      [04:34:16 PM] weblogic.application.ModuleException: Failed to load webapp:'<appnName>'
      [04:34:16 PM] #### Deployment incomplete. ####
      [04:34:16 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
      --------------------------
      thanks
      Lokesh
        • 1. Re: Exception: weblogic.application.ModuleException: Failed to webapp:
          René van Wijk
          " Caused by: java.lang.NoClassDefFoundError: javax/faces/webapp/ConverterELTag"

          Make sure the jsf-api.jar (http://www.java2s.com/Code/Jar/j/Downloadjsfapijar.htm) is included in the classpath (for example, by adding it to the WEB_INF/lib directory of your application). Note that you probably will need jsf-impl.jar as well.
          • 2. Re: Exception: weblogic.application.ModuleException: Failed to webapp:
            Nilum
            Hi!

            This may be a library duplication. You must have JSF library on only one end.(Server side or app side)

            1)Check your Stand alone application server installed the JSF related libraries. If yes remove your application jsf libraries.
            You can directly remove them fom web-inf/lib folder by deleting from the EAR or WAR.

            or

            2)Without do any changes to server end You can use following entry to force the app to use only web-inf/lib libraries.
            (weblogic.xml)

            <container-descriptor>
            <prefer-web-inf-classes>true</prefer-web-inf-classes>
            </container-descriptor>

            Nilum.