Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
FS#614 - [HttpServer] War using imported classes not declared in the Manifest can cause problem
|
DetailsWar using imported classes not declared in the Manifest can cause problem (especially when the class is used for a service)
example: private static class CheckWebSockService implements WebSockService { /** * Handle the new web app client * @param webSockClient the web socket client */ public void handle(final WebSockClient webSockClient) { } } //create the CheckWebSockService CheckWebSockService checkWebSockService = new CheckWebSockService(); Map<String,Object> props = new Hashtable<String,Object>(); props.put("id","qwerty"); this.serviceProvider.registerService(WebSockService.class.getName(), checkWebSockService, props); and com.lobeo.lms.core.service is omitted in the Import-Package of the Manifest of the War |
This task depends upon