I'm trying to use SoapProvisioning Java API, but at the line


sp.soapSetURI("https://server:7071/service/admin/soap");



is throwing the following exception in Glassfish (Java app server):
threw exception java.lang.NoClassDefFoundError: Could not initialize class com.zimbra.common.soap.SoapHttpTransport at com.zimbra.cs.account.soap.SoapProvisioning.soapSe tURI(SoapProvisioning.java:184)
but SoapHttpTransport is inside zimbracommon.jar, that is packaged in WEB-INF/lib of my web java project. So, why is this error happening?