6 Replies Latest reply on Jun 16, 2009 9:06 AM by Dhina Alb

    Error Loading Library: wsjar:file:/WEB-INF/lib/richfaces-ui-

    Dhina Alb Newbie

      Can anyone please help me out with the above error?
      I am using Richfaces3.3.1/JSF1.2/Facelets on RAD 7.5.1. I have all jars in place and entries in web.xml looks right.

      Thanks in advance
      Jeya

        • 2. Re: Error Loading Library: wsjar:file:/WEB-INF/lib/richfaces
          Dhina Alb Newbie

          Below is a part of stack trace....


          [6/12/09 15:39:14:252 EDT] 0000001e config E Error Loading Library: wsjar:file:/C:/Workspace/sample/WebContent/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/rich.taglib.xml
          java.io.IOException: Error parsing [wsjar:file:/C:/Workspace/sample/WebContent/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/rich.taglib.xml]:
          at com.sun.facelets.config.TagLibraryConfig.create(TagLibraryConfig.java:417)
          at com.sun.facelets.config.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:438)
          at com.sun.facelets.webapp.WebAppConfig.initializeTagLibraries(WebAppConfig.java:100)
          at com.sun.facelets.webapp.WebAppConfig.(WebAppConfig.java:37)
          at com.sun.facelets.webapp.FaceletFilter.init(FaceletFilter.java:46)
          at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:140)
          at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:509)
          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:423)
          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:282)
          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:340)


          Caused by: org.xml.sax.SAXException: Error Handling [wsjar:file:/C:/Workspace/sample/WebContent/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/rich.taglib.xml@36,8]
          at com.sun.facelets.config.TagLibraryConfig$LibraryHandler.error(TagLibraryConfig.java:383)
          at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
          at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)


          Please let me know if you need more info.

          • 4. Re: Error Loading Library: wsjar:file:/WEB-INF/lib/richfaces
            Dhina Alb Newbie

            Sorry for getting back to you late.

            facelets version that I use is 1.2

            Below are the jars that are in my lib.
            commons-beanutils
            commons-collections3.2.1
            commons-digester1.7
            commons-logging1.1.1
            el-api
            el-ri
            jhighlight1.0
            jsf-api
            jsf-facelets
            jstl
            junit
            log4j
            richfaces-api-3.3.1
            richfaces-impl-3.3.1
            richfaces-ui-3.3.1


            Thanks for your help

            • 5. Re: Error Loading Library: wsjar:file:/WEB-INF/lib/richfaces
              Nick Belaevski Master

              Hi,

              Facelets 1.2 is a development version. Try 1.1.15B1.

              • 6. Re: Error Loading Library: wsjar:file:/WEB-INF/lib/richfaces
                Dhina Alb Newbie

                Yes, I tried yday night and its fixed now. Thanks for your help.