It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Could not initialize class org.apache.axis.client.AxisClient

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( at org.apache.axis.client.Service.<init>( at<init>( at<init>( 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)

1 answer

@kunti pawar

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'


I have added all jars in WEB-INF-lib folder

I have imported as below

import org.apache.axis.client.AxisClient

then also I am getting ame error

@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.

Hi Moses Thomas,

bellows are my imported files then also I am getting same error

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.*

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

The Jira Server Mobile App is here!

Hey Community! My name is James and I am a product manager on the Server Mobile team. I am excited to announce the new Jira Server Mobile apps for both iPhone and Android are now available. This is...

40 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you