On Sep 23, 2009, at 1:16 PM, brandendodge wrote:


I have several Maven projects that are using OpenEJB to do the unit testing
of the web services.  These tests are doing fine.

I am not trying to create new Maven projects in a different tree. When I
try to run Web Service Tests the web service never comes and I net
exceptions because the service can not be initialized.


Looks like the required dependencies are not there. Make sure you have this dependency in your pom:

    <dependency>
      <groupId>org.apache.openejb</groupId>
      <artifactId>openejb-cxf</artifactId>
      <version>3.1.1</version>
      <scope>test</scope>
    </dependency>

Here's a working pom if you need it:

  
http://svn.apache.org/repos/asf/openejb/tags/openejb-3.1.1/examples/simple-webservice/pom.xml


Hope that helps!

-David

Reply via email to