1 Reply Latest reply on Jun 14, 2012 8:29 AM by Marcos Portela

    JMS package in  richFaces 4.2 example, how to fix it?

    Hung Phan Newbie

      Hi everybody.

       

      Last night (03/06/2012) I downloaded richFaces 4.2 and open the example project. Unfortunatelly I found this error: the Maven Project couldn’t find jms.jar.

       

      Here is the output error:

       

      Scanning for projects...

       

      ------------------------------------------------------------------------

      Building RichFaces Showcase 4.2.0.Final

      ------------------------------------------------------------------------

      ------------------------------------------------------------------------

      BUILD FAILURE

      ------------------------------------------------------------------------

      Total time: 3.032s

      Finished at: Tue Mar 06 22:14:27 ICT 2012

      Final Memory: 6M/18M

      ------------------------------------------------------------------------

      Failed to execute goal on project richfaces-showcase: Could not resolve dependencies for project org.richfaces.examples:richfaces-showcase:war:4.2.0.Final: Failure to find javax.jms:jms:jar:1.1 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

       

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

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

       

      For more information about the errors and possible solutions, please read the following articles:

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

       

      And here is the screenshot of my project:

      error.png

       

      How can I fix this error ? I’m using NetBeans 7.0.1 and Tomcat 7.0 (with all recent updates).

       

      Thank you.