1 Reply Latest reply on Jul 4, 2012 5:06 AM by Sigi Kiermayer

    Issue Manually Building RichFaces

    David Miller Newbie

      This is my first attempt at manually building RichFaces from scratch. I am attempting to build RichFaces3.3.3.Final, however Maven gives me the following compile error:

       

      [INFO] Compiling 41 source files to C:\DevTools\richfaces\richfaces-ui-3.3.3.Fin

      al\framework\test\target\classes

      [INFO] -------------------------------------------------------------

      [ERROR] COMPILATION ERROR :

      [INFO] -------------------------------------------------------------

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[31,15] org.ajax4j

      sf.tests.EnumSupportExpressionFactoryWrapper is not abstract and does not overri

      de abstract method coerceToType(java.lang.Object,java.lang.Class) in javax.el.Ex

      pressionFactory

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[46,13] method doe

      s not override a method from its superclass

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[75,13] method doe

      s not override a method from its superclass

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[86,13] method doe

      s not override a method from its superclass

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[95,13] method doe

      s not override a method from its superclass

      [INFO] 5 errors

      [INFO] -------------------------------------------------------------

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] RichFaces project ................................. SUCCESS [14.265s]

      [INFO] JSF Components Development kit .................... SUCCESS [0.187s]

      [INFO] Java Server Faces component generator ............. SUCCESS [2:50.158s]

      [INFO] Maven plugin for JSF components code generation ... SUCCESS [3:26.778s]

      [INFO] YUI Compressor Maven Mojo ......................... SUCCESS [17.398s]

      [INFO] Archetype - maven-archetype-jsf-component ......... SUCCESS [0.390s]

      [INFO] Archetype for jsf webapp project .................. SUCCESS [0.312s]

      [INFO] Archetype - maven-archetype-plug-n-skin ........... SUCCESS [0.218s]

      [INFO] maven-resource-dependency-plugin .................. SUCCESS [18.252s]

      [INFO] maven-archetype-theme ............................. SUCCESS [22.776s]

      [INFO] maven-archetype-rf-facelets ....................... SUCCESS [0.577s]

      [INFO] Java Server Faces AJAX framework .................. SUCCESS [36.489s]

      [INFO] Java Server Faces AJAX framework API .............. SUCCESS [45.973s]

      [INFO] Java Server Faces AJAX framework implementation ... SUCCESS [2:15.555s]

      [INFO] Ajax4Jsf test framework ........................... FAILURE [53.617s]

      [INFO] jsf-test .......................................... SKIPPED

      [INFO] RichFaces Components .............................. SKIPPED

      [INFO] Java Server Faces AJAX framework .................. SKIPPED

      [INFO] colorPicker ....................................... SKIPPED

      [INFO] Drag and Drop ..................................... SKIPPED

      [INFO] Effect ............................................ SKIPPED

      [INFO] Panel ............................................. SKIPPED

      [INFO] Panel Bar ......................................... SKIPPED

      [INFO] Data Filter Slider ................................ SKIPPED

      [INFO] Google map component .............................. SKIPPED

      [INFO] jQuery Selectors .................................. SKIPPED

      [INFO] Virtual Earth ..................................... SKIPPED

      [INFO] Separator components .............................. SKIPPED

      [INFO] Spacer ............................................ SKIPPED

      [INFO] Paint java 2D ..................................... SKIPPED

      [INFO] Toggle panel ...................................... SKIPPED

      [INFO] Tab panel ......................................... SKIPPED

      [INFO] Toggle panel ...................................... SKIPPED

      [INFO] Tool bar .......................................... SKIPPED

      [INFO] Input number slider ............................... SKIPPED

      [INFO] Input number spinner .............................. SKIPPED

      [INFO] Tree control ...................................... SKIPPED

      [INFO] Suggestion box .................................... SKIPPED

      [INFO] Extended data table and lists ..................... SKIPPED

      [INFO] Modal panel ....................................... SKIPPED

      [INFO] Data Scroller ..................................... SKIPPED

      [INFO] Menu components ................................... SKIPPED

      [INFO] Drop down menu .................................... SKIPPED

      [INFO] tooltip ........................................... SKIPPED

      [INFO] Panel menu ........................................ SKIPPED

      [INFO] Calendar .......................................... SKIPPED

      [INFO] Tree Model ........................................ SKIPPED

      [INFO] Message ........................................... SKIPPED

      [INFO] Scrollable Data Table ............................. SKIPPED

      [INFO] insert ............................................ SKIPPED

      [INFO] componentControl .................................. SKIPPED

      [INFO] orderingList ...................................... SKIPPED

      [INFO] listShuttle ....................................... SKIPPED

      [INFO] contextMenu ....................................... SKIPPED

      [INFO] columns ........................................... SKIPPED

      [INFO] combobox .......................................... SKIPPED

      [INFO] pickList .......................................... SKIPPED

      [INFO] progressBar ....................................... SKIPPED

      [INFO] fileUpload ........................................ SKIPPED

      [INFO] inplaceInput ...................................... SKIPPED

      [INFO] inplaceSelect ..................................... SKIPPED

      [INFO] functions ......................................... SKIPPED

      [INFO] hotKey ............................................ SKIPPED

      [INFO] beanValidator ..................................... SKIPPED

      [INFO] state ............................................. SKIPPED

      [INFO] extendedDataTable ................................. SKIPPED

      [INFO] Editor ............................................ SKIPPED

      [INFO] layout ............................................ SKIPPED

      [INFO] Richfaces extensions for a different environments . SKIPPED

      [INFO] Project documentation ............................. SKIPPED

      [INFO] RichFaces JSF components library .................. SKIPPED

      [INFO] RichFaces Components Examples ..................... SKIPPED

      [INFO] skins ............................................. SKIPPED

      [INFO] Laguna Add-On Skin ................................ SKIPPED

      [INFO] glassX ............................................ SKIPPED

      [INFO] darkX ............................................. SKIPPED

      [INFO] themes ............................................ SKIPPED

      [INFO] violetRays ........................................ SKIPPED

      [INFO] richfaces-demo Maven Webapp ....................... SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 14:02.207s

      [INFO] Finished at: Tue Sep 27 13:52:51 EDT 2011

      [INFO] Final Memory: 29M/95M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.

      3.2:compile (default-compile) on project richfaces-test: Compilation failure: Co

      mpilation failure:

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[31,15] org.ajax4j

      sf.tests.EnumSupportExpressionFactoryWrapper is not abstract and does not overri

      de abstract method coerceToType(java.lang.Object,java.lang.Class) in javax.el.Ex

      pressionFactory

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[46,13] method doe

      s not override a method from its superclass

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[75,13] method doe

      s not override a method from its superclass

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[86,13] method doe

      s not override a method from its superclass

      [ERROR] \DevTools\richfaces\richfaces-ui-3.3.3.Final\framework\test\src\main\jav

      a\org\ajax4jsf\tests\EnumSupportExpressionFactoryWrapper.java:[95,13] method doe

      s not override a method from its superclass

      [ERROR] -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

      ch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please rea

      d the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc

      eption

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

       

      [ERROR]   mvn <goals> -rf :richfaces-test

      c:\DevTools\richfaces\richfaces-ui-3.3.3.Final>

       

       

      It seems like this user had a similar issue:

      http://community.jboss.org/thread/15147

       

      I attempted cleaning the ./m2 direction and doing a mvn clean install, but I am still having the same issue.

       

      Can someone point me in the right direction?

       

      Thanks!