0 Replies Latest reply: Apr 16, 2012 10:25 PM by Stanley Lai RSS

    There is a problem with richfaces-showcase.

    Stanley Lai Newbie

      Hi, all.

       

      I checked out the 4.2.0 source from svn:http://anonsvn.jboss.org/repos/richfaces.

      When I executed the mvnEclipse.bat, there is an problem with it.

      How can I solve it?

      Please help me.

      Thanks a lot.

       

      C:\version_control\richfaces\examples\richfaces-showcase>call mvn eclipse:clean eclipse:eclipse

      [INFO] Scanning for projects...

      [ERROR] The build could not read 1 project -> [Help 1]

      [ERROR]

      [ERROR]   The project org.richfaces.examples:richfaces-showcase:4.1.0-SNAPSHOT (C:\version_control\richfaces\examples\richfaces-showcase\pom.xml) has 1 error

      [ERROR]     'dependencies.dependency.version' for javax.servlet:jstl:jar is missing. @ line 48, column 21

      [ERROR]

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

      [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 read the following articles:

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

      C:\version_control\richfaces\examples\richfaces-showcase>

       

       

       

      And I download the example from the web.

      There is a problem when I execute mvn clean package.

       

      C:\Users\Stanley\Downloads\richfaces-4.2.0.Final\richfaces-4.2.0.Final\examples\richfaces-showcase>mvn clean package

      [INFO] Scanning for projects...

      [INFO]

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

      [INFO] Building RichFaces Showcase 4.2.0.Final

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

      Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 3.231s

      [INFO] Finished at: Tue Apr 17 10:20:46 CST 2012

      [INFO] Final Memory: 7M/110M

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

      [ERROR] Failed to execute goal on project richfaces-showcase: Could not resolve dependencies for project org.richfaces.examples:richfaces-showcase:war:4.2.0.Final: Could not find artifact javax.jms:jms:jar:1.1 in central (http://repo1.maven.org/maven2) -> [Help 1]

      [ERROR]

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

      [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 read the following articles:

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

      C:\Users\Stanley\Downloads\richfaces-4.2.0.Final\richfaces-4.2.0.Final\examples\richfaces-showcase>