1 Reply Latest reply on Jul 27, 2006 2:57 PM by aguizar

    Hello world example failed on junit test , throws ClassCastE

    developerdev

      Hi
      I am trying to run hello world example provided with jbpm.bpel tut. All the steps are successful but at last on running run-test it gives folloeing error..

      any help????



      run-test:
      [junit] Testsuite: org.jbpm.bpel.tutorial.hello.ClientTest
      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec

      [junit] Testcase: testSayHello_proxy(org.jbpm.bpel.tutorial.hello.ClientTest
      ): Caused an ERROR
      [junit] javax.naming.Reference
      [junit] java.lang.ClassCastException: javax.naming.Reference
      [junit] at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java
      :33)


      [junit] Testcase: testSayHello_dii(org.jbpm.bpel.tutorial.hello.ClientTest):
      Caused an ERROR
      [junit] javax.naming.Reference
      [junit] java.lang.ClassCastException: javax.naming.Reference
      [junit] at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java
      :33)


      [junit] Test org.jbpm.bpel.tutorial.hello.ClientTest FAILED

      regards
      devesh