Exception when registerWebService

Hey,

I discovered some strange behavior in my Servoy Plugin. I register some HttpServlets as Webservices. When the last one is registered with this code:

app.registerWebService("ExportServlet", new ExportServlet());

Servoy throws an exception:
Error occured loading server plugin plugins.ServoyWebService.Plugin.WebServiceServerService

java.lang.NoClassDefFoundError: com/servoy/j2db/persistence/Ztb 
       at plugins.ServoyWebService.Plugin.iBizWebServiceServerService.initialize(WebServiceServerService.java:235)

I do not use the obfuscated class Ztb in any of my Servlets or classes, it is not part of my project. Could not figure out, why this exception occurs. Has anybody seen this in one of his projects?

Figured it out, it was the IClientInformation class, which is no longer part of the public API. Are there any substituions?

Felix,

IClientInformation is still part of the public api, it is declared as: com.servoy.j2db.server.shared.IClientInformation

There is another IClientInformation class that is deprecated/obfuscated.

Rob

Hey Rob,

thanks. I’d use this Interface then.