cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: JAXRSServerFactoryBean server seems not startup
Date Tue, 20 Jul 2010 19:20:39 GMT
On Tuesday 20 July 2010 7:50:31 am Rice Yeh wrote:
> Hi,
>   I write the following code for unit test. This code is so simple, but I
> find it does not work. That is, the server does not start up and No error
> message is shown. Anything I do is wrong?
> 
>         JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
>         sf.setServiceBeans(new PassThroughResource());
>         sf.setAddress("http://localhost:9500/");
>         sf.create();
> 
> Regards,
> Rice

Not really sure.  Does the project have the cxf-rt-transport-http-jetty module 
as a dependency so there is an implementation for the http transport?


-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message