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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Wednesday in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

331 views 3 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you