I have added jar in WEB-INF-lib-folder
same jars I have added in eclipse then I am not getting same error
but when I added in jira then I am getting below errors
2018-06-14 11:47:56,636 WARN [common.UserScriptEndpoint]: Script console script failed: java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis.client.AxisClient at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.polarion.alm.ws.client.tracker.TrackerWebServiceServiceLocator.<init>(TrackerWebServiceServiceLocator.java:16) at com.polarion.alm.ws.client.WebServiceFactory.<init>(WebServiceFactory.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source)
You're probably missing some dependant library. In Eclipse Ok but in script console i guess you will have to import this package/library 'org.apache.axis.client'
Best!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have imported as below
import org.apache.axis.client.AxisClient
then also I am getting ame error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@kunti pawarThe "org.apache.axis.client" has many classes and AxisClient is one of them from your error i see reference to another class, could you also add this other one " import org.apache.axis.client.Service" and try again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moses Thomas,
bellows are my imported files then also I am getting same error
import com.polarion.alm.ws.client.WebServiceFactory;
import com.polarion.alm.ws.client.session.SessionWebService;
import com.polarion.alm.ws.client.tracker.TrackerWebService;
import com.polarion.alm.ws.client.types.tracker.WorkItem;
import org.apache.axis.client.AxisClient
import org.apache.axis.client.Service
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.axis.client.*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.