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

Reply via email to