title: Running webservice that is generated from wsdl2java cxf
body: <p>I'm trying to run webservice that is generated from wsdl using cxf.</p>
  
  <ol>
  <li>get sample wsdl (hello_world.wsdl)
  <ul>
  <li><a href="http://cxf.apache.org/docs/developing-a-consumer.html" rel="nofollow">http://cxf.apache.org/docs/developing-a-consumer.html</a></li>
  </ul></li>
  <li>Generate java code from wsdl
  <ul>
  <li>'wsdl2java -ant -server -d Server hello_world.wsdl'</li>
  <li><a href="http://cxf.apache.org/docs/wsdl-to-java.html" rel="nofollow">http://cxf.apache.org/docs/wsdl-to-java.html</a></li>
  </ul></li>
  <li>Since service implimentation is missing in generated code, I got GreeterImpl from here
  <ul>
  <li><a href="http://alvinalexander.com/java/jwarehouse/apache-cxf/distribution/src/main/release/samples/configuration_interceptor/src/demo/stream/server/GreeterImpl.java.shtml" rel="nofollow">http://alvinalexander.com/java/jwarehouse/apache-cxf/distribution/src/main/release/samples/configuration_interceptor/src/demo/stream/server/GreeterImpl.java.shtml</a></li>
  <li>Change package name properly.</li>
  </ul></li>
  <li>'ant compile' is successful.</li>
  <li>'ant GreeterServer' is not successful.</li>
  </ol>
  
  <p>What am I missing?</p>
  
  <hr>
  
  <pre><code>compile:
  
  GreeterServer:
    [java] Starting Server
    [java] After implementor
    [java] Before publish
    [java] Exception in thread "main" java.lang.ExceptionInInitializerError
    [java]     at org.eclipse.jetty.util.component.AbstractLifeCycle.&lt;clinit&gt;(AbstractLifeCycle.java:33)
    [java]     at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:178)
    [java]     at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48)
    [java]     at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97)
    [java]     at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:901)
    [java]     at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131)
    [java]     at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:349)
    [java]     at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:247)
    [java]     at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:151)
    [java]     at javax.xml.ws.Endpoint.publish(Endpoint.java:57)
    [java]     at org.apache.hello_world_soap_http.Greeter_SoapPort_Server.&lt;init&gt;(Greeter_SoapPort_Server.java:21)
    [java]     at org.apache.hello_world_soap_http.Greeter_SoapPort_Server.main(Greeter_SoapPort_Server.java:26)
    [java] Caused by: java.lang.IllegalArgumentException: key can't be empty
    [java]     at java.lang.System.checkKey(System.java:774)
    [java]     at java.lang.System.getProperty(System.java:647)
    [java]     at org.eclipse.jetty.util.log.Log$1.run(Log.java:122)
    [java]     at java.security.AccessController.doPrivileged(Native Method)
    [java]     at org.eclipse.jetty.util.log.Log.&lt;clinit&gt;(Log.java:85)
    [java]     ... 12 more
    [java] Java Result: 1
  
  BUILD SUCCESSFUL
  Total time: 1 second
  </code></pre>