Error Loading Library: richfaces-ui-3.2.2.GA.jar

catarina

Grünschnabel
Hallo zusammen,

ich bekomme leider diese Fehler Meldung und habe alles versucht, aber leider erfolglos, jetzt funktioniert nichts in meine Anwendung.
ich habe leider nicht viel Erfahrung in diesem Gebiet.:-)

wäre sehr nett, wenn jemand mir helfen kann.
LG
catarina

fehler Meldung:
Code:
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
SCHWERWIEGEND: Error Loading Library: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/rich.taglib.xml
java.io.IOException: Error parsing [jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/rich.taglib.xml]: 
	at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397)
	at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:418)
	at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86)
	at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103)
	at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
	at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
	at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXException: Error Handling [jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/rich.taglib.xml@599,109] <function-signature>
	at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:258)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(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)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:394)
	... 35 more
Caused by: java.lang.Exception: No Function Found on type: org.richfaces.function.RichFunction with signature: javax.faces.component.UIComponent findComponent(java.lang.String)
	at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createMethod(TagLibraryConfig.java:315)
	at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:253)
	... 49 more
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-core.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/a4j.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/jsp.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-ui.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.11.jar!/META-INF/jsf-html.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-fn.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/ajax4jsf.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.11.jar!/META-INF/jstl-fn.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/jsp.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.11.jar!/META-INF/jsf-core.taglib.xml
07.06.2009 11:39:35 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/a4j.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/rich.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/ajax4jsf.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.11.jar!/META-INF/jsf-ui.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-core.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.1.GA.jar!/META-INF/richfaces.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/jsf-facelets-1.1.11.jar!/META-INF/jstl-core.taglib.xml
07.06.2009 11:39:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
SCHWERWIEGEND: Error Loading Library: jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/richfaces.taglib.xml
java.io.IOException: Error parsing [jar:file:/C:/apache-tomcat-6.0.13/webapps/Immoportal/WEB-INF/lib/richfaces-ui-3.2.2.GA.jar!/META-INF/richfaces.taglib.xml]: 
	at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397)


hier ist mein web.xml
Code:
....

<!-- Configure tomahawk taglib && Custom Components -->
	<context-param>
		<param-name>facelets.LIBRARIES</param-name>
		<param-value>/WEB-INF/tomahawk.taglib.xml;/WEB-INF/facelet-components.xml;/WEB-INF/gmaps4jsf-facelets-taglib.xml</param-value>
	</context-param>

	<!-- Use Documents Saved as *.xhtml -->
	<context-param>
		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
		<param-value>.xhtml</param-value>
	</context-param>

	<!-- Special Debug Output for Development -->
	<context-param>
		<param-name>facelets.DEVELOPMENT</param-name>
		<param-value>true</param-value>
	</context-param>

............................
<!-- RichFaces Filter -->
	<filter>
		<display-name>RichFaces Filter</display-name>
		<filter-name>richfaces</filter-name>
		<filter-class>org.ajax4jsf.Filter</filter-class>
	</filter>
	
	<!-- RichFaces FilterMaping -->
	<filter-mapping>
		<filter-name>richfaces</filter-name>
		<servlet-name>Faces Servlet</servlet-name>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>FORWARD</dispatcher>
		<dispatcher>INCLUDE</dispatcher>
	</filter-mapping>
..................

pom.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>goose</groupId>
    <artifactId>jsftest</artifactId>
    <packaging>war</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>A custom project using myfaces</name>
    <url>http://www.myorganization.org</url>

    <build>
        <finalName>jsftest</finalName>
        <plugins>
            <plugin>
                <!--This plugin allows to run the example using mvn jetty:run -->
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.1.8</version>
                <configuration>
                    <scanIntervalSeconds>10</scanIntervalSeconds>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <id>apache-maven-snapshots</id>
            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        </repository>
        <repository>
            <id>java.net</id>
            <url>http://download.java.net/maven/1</url>
            <layout>legacy</layout>
        </repository>        
    </repositories>

    <!-- Project dependencies -->
    <dependencies>
        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-api</artifactId>
            <version>1.2.2</version>
            <scope>compile</scope>
        </dependency>
        
        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-impl</artifactId>
            <version>1.2.2</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.myfaces.tomahawk</groupId>
            <artifactId>tomahawk</artifactId>
            <version>1.1.6</version>
            <scope>runtime</scope>    
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>jstl</artifactId>
                </exclusion>
            </exclusions>    
        </dependency>

        <dependency>
            <groupId>jstl</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>runtime</scope>
        </dependency>   
    
     	<dependency>
		    <groupId>com.sun.facelets</groupId>
		    <artifactId>jsf-facelets</artifactId>
		    <version>1.1.14</version>
	    </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.0</version>
            <scope>test</scope>
        </dependency>
        <!-- Project dependencies fiji-->
          <dependency>
            <groupId>org.richfaces.ui</groupId>
            <artifactId>richfaces-ui</artifactId>
            <version>3.2.2.GA</version>
        </dependency>
        
        
    </dependencies>
</project>

hier sind die lib. die ich eingefügt habe, um Fiji (Flex-JSF ) zu integrieren.

*

amf-serializer-1.7.0.jar
*

common-annotations.jar
*

commons-beanutils.jar
*

commons-collections.jar
*

commons-digester.jar
*

commons-logging.jar
*

fiji-api-1.0.0.jar
*

fiji-ui-1.0.0.jar
*

flamingo-service-jsf-1.7.0.jar
*

jsf-api-1.2_09.jar
*

jsf-facelets-1.1.14.jar
*

jsf-impl-1.2_09.jar
*

jstl.jar
*

laguna.jar
*

richfaces-api-3.2.2.GA.jar
*

richfaces-impl-3.2.2.GA.jar
*

richfaces-ui-3.2.2.GA.jar
*

standard.jar

ich bitte euch um Hilfe:(
 
Zuletzt bearbeitet:
Es hat sich erledigt!;)

Dummeweise Hatte ich in meine Appllikation einpaar .Jar doppelt eingefügt. :-)

Vielen Dank.
 

Neue Beiträge

Zurück