0 Replies Latest reply on Jun 27, 2008 10:35 AM by Marine Wacheux

    Maven build : ClassNotFoundException, Method not found and o

    Marine Wacheux Newbie

      Hi,

      I want to build RichFaces 3.1.6 from sources to correct a bug only corrected in 3.2.x (see my precedent post http://jboss.com/index.html?module=bb&op=viewtopic&t=137395).

      So I followed Wiki instructions (http://wiki.jboss.org/wiki/HowToBuildRichFacesSnapshotManually).
      When I run "mvn clean install", I have a "BUILD SUCCESSFUL" at end, and .jar / .zip files are generated.

      However, I have a lot of errors, so I'm afraid jar files generated may be wrong....

      There don't seems to be errors in framework\test\target\surefire-reports\*

      Could you please tell me if I can ignore these errors ? If not, how can I get rid of them.
      (I have very few knowledge about Maven, please be indulgent...)
      Thanks


      Errors encountered :

      ClassNotFoundException message: org.ajax4jsf.component.html.HtmlAjaxCommandButton
      27 juin 2008 15:58:23 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
      GRAVE: Error load class: org.ajax4jsf.component.html.HtmlAjaxCommandButton
      ClassNotFoundException message: org.ajax4jsf.component.html.HtmlAjaxCommandLink
      27 juin 2008 15:58:23 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
      GRAVE: Error load class: org.ajax4jsf.component.html.HtmlAjaxCommandLink
      27 juin 2008 15:58:23 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.ajax4jsf.renderkit.AjaxCommandRendererBase#renderChildren([Ljava.lang.Class;@568a8)
      ClassNotFoundException message: org.ajax4jsf.component.html.HtmlAjaxFunction
      27 juin 2008 15:58:23 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
      GRAVE: Error load class: org.ajax4jsf.component.html.HtmlAjaxFunction
      ClassNotFoundException message: org.ajax4jsf.component.html.AjaxLog
      27 juin 2008 15:58:23 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
      GRAVE: Error load class: org.ajax4jsf.component.html.AjaxLog
      27 juin 2008 15:58:24 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.ajax4jsf.renderkit.AjaxCommandRendererBase#renderChildren([Ljava.lang.Class;@e4c118)
      ClassNotFoundException message: org.richfaces.component.html.HtmlDragIndicator
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
      GRAVE: Error load class: org.richfaces.component.html.HtmlDragIndicator
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.richfaces.renderkit.DragIndicatorRendererBase#encodeNamespace([Ljava.lang.Class;@d7fef7)
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.richfaces.renderkit.DragIndicatorRendererBase#encodeDnDParams([Ljava.lang.Class;@a43ee0)
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.richfaces.renderkit.DragIndicatorRendererBase#encodeChildScripts([Ljava.lang.Class;@11c1cdf)
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.richfaces.renderkit.DragIndicatorRendererBase#encodeNamespace([Ljava.lang.Class;@6a641d)
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.richfaces.renderkit.DragIndicatorRendererBase#encodeDnDParams([Ljava.lang.Class;@d2be98)
      27 juin 2008 15:58:49 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      
      (...)
      
      27 juin 2008 16:06:09 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.richfaces.renderkit.ListShuttleRendererBase#encodeTLHeader([Ljava.lang.Class;@db0d07)
      ClassNotFoundException message: org.richfaces.ui.component.html.HtmlInsert
      27 juin 2008 16:06:27 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext loadClass
      GRAVE: Error load class: org.richfaces.ui.component.html.HtmlInsert
      27 juin 2008 16:06:27 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.ajax4jsf.renderkit.AbstractInsertRenderer#renderContent([Ljava.lang.Class;@119cd43)
      27 juin 2008 16:06:28 org.ajax4jsf.templatecompiler.builder.AbstractCompilationContext getMethodReturnedClass
      GRAVE: Method not found: class org.ajax4jsf.renderkit.AbstractInsertRenderer#renderContent([Ljava.lang.Class;@7b190d)
      27 juin 2008 16:06:47 org.apache.fop.hyphenation.Hyphenator getHyphenationTree
      GRAVE: Couldn't find hyphenation pattern en
      27 juin 2008 16:07:47 org.apache.fop.fo.FONode attributeWarning
      ATTENTION: Warning(-1/-1): fo:table, table-layout="auto" is currently not supported by FOP
      27 juin 2008 16:07:47 org.apache.fop.fo.PropertyList convertAttributeToProperty
      GRAVE: Ignoring property: column-width="proportional-column-width(1)" (proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width')
      27 juin 2008 16:07:47 org.apache.fop.fo.flow.TableColumn bind
      ATTENTION: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)
      27 juin 2008 16:07:47 org.apache.fop.fo.flow.TableColumn bind
      
      (...)
      
      Recoverable error
      Ambiguous rule match for /book[1]/chapter[6]/section[1]/section[1]
      Matches both "section[@role = 'NotInToc']//*" on line 90 of jar:file:/C:/Documents and Settings/Administrateur/.m2/repository/org/richfaces/docs/xslt/en/3.1.6.GA/en-3.1.6.GA.jar!/xslt/html_chunk.xsl
      and "chapter[@role = 'NotInToc']//section//*" on line 91 of jar:file:/C:/Documents and Settings/Administrateur/.m2/repository/org/richfaces/docs/xslt/en/3.1.6.GA/en-3.1.6.GA.jar!/xslt/html_chunk.xsl
      Recoverable error
      Ambiguous rule match for /book[1]/chapter[6]/section[1]/section[2]
      Matches both "section[@role = 'NotInToc']//*" on line 90 of jar:file:/C:/Documents and Settings/Administrateur/.m2/repository/org/richfaces/docs/xslt/en/3.1.6.GA/en-3.1.6.GA.jar!/xslt/html_chunk.xsl
      and "chapter[@role = 'NotInToc']//section//*" on line 91 of jar:file:/C:/Documents and Settings/Administrateur/.m2/repository/org/richfaces/docs/xslt/en/3.1.6.GA/en-3.1.6.GA.jar!/xslt/html_chunk.xsl
      Recoverable error
      
      (...)
      
      No more warnings will be displayed