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
http://fr.answers.yahoo.com