4 Replies Latest reply on Aug 19, 2014 11:01 AM by Justin Bertram

    Problem running j2ee example

    David Roberts Newbie

      I downloaded hornetq-2.4.0 and I'm having a problem running the J2EE examples.  I downloaded jboss-as-7.1.1 and set jboss_home to that folder as instructed by the readme.md.  When I try to run the example using "mvn test", I get the error below.  Pointers and advice would be appreciated.


      [INFO] Scanning for projects...


      [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea

      ded.SingleThreadedBuilder with a thread count of 1


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

      [INFO] Building HornetQ JEE MDB CMT Local Transaction Example 2.4.0.Final

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

      [WARNING] The POM for org.wildfly:wildfly-arquillian-container-managed:jar:8.0.0

      .Alpha3-SNAPSHOT is missing, no dependency information available

      [WARNING] The POM for org.hornetq:hornetq-core-client:jar:2.4.0-SNAPSHOT is miss

      ing, no dependency information available

      [WARNING] The POM for org.hornetq:hornetq-jms-client:jar:2.4.0-SNAPSHOT is missi

      ng, no dependency information available

      [WARNING] The POM for org.hornetq:hornetq-ra:jar:2.4.0-SNAPSHOT is missing, no d

      ependency information available

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


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

      [INFO] Total time: 1.391 s

      [INFO] Finished at: 2014-08-01T10:57:38-05:00

      [INFO] Final Memory: 7M/243M

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

      [ERROR] Failed to execute goal on project hornetq-jee-mdb-cmt-tx-local-example:

      Could not resolve dependencies for project org.hornetq.example.javaee:hornetq-je

      e-mdb-cmt-tx-local-example:jar:2.4.0.Final: The following artifacts could not be

      resolved: org.wildfly:wildfly-arquillian-container-managed:jar:8.0.0.Alpha3-SNA

      PSHOT, org.hornetq:hornetq-core-client:jar:2.4.0-SNAPSHOT, org.hornetq:hornetq-j

      ms-client:jar:2.4.0-SNAPSHOT, org.hornetq:hornetq-ra:jar:2.4.0-SNAPSHOT: Could n

      ot find artifact org.wildfly:wildfly-arquillian-container-managed:jar:8.0.0.Alph

      a3-SNAPSHOT -> [Help 1]


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


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


      [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/DependencyReso