jetty
On 3/13/07, a a <[EMAIL PROTECTED]> wrote:
I would like to compile a server but I have this error !
Exception in thread "main" java.lang.NoClassDefFoundError:
org/mortbay/http/HttpListener
at
com.thalesgroup.bench.server.Server.<init>(Server.java:41)
at
com.thalesgroup.bench.server.Server.main(Server.java:20)
My method to create a server...
public Server(String port) throws Exception {
// Create an XFire Service
ObjectServiceFactory serviceFactory = new ObjectServiceFactory();
Service service = serviceFactory.create(BenchPortType.class);
service.setInvoker(new BeanInvoker(new BenchInterfaceImpl()));
// Register the service in the ServiceRegistry
XFire xfire = XFireFactory.newInstance().getXFire();
xfire.getServiceRegistry().register(service);
// Start the HTTP server
XFireHttpServer server = new XFireHttpServer(); // Line 41
server.setPort(7777);
server.start();
}
I think that I need some jars but which one ?
Thanks for your help
Obé
________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo! Questions/Réponses.
--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email