FileNotFoundException: JiraActionSupport.class cannot be opened because it does not exist

Hello,

 

After upgrading a plugin from JIRA 6.2.8 to JIRA 7.2.7 I encountered a very strange error:

org.springframework.beans.factory.BeanDefinitionStoreException: 
Failed to parse configuration class [...]; nested exception is
java.io.FileNotFoundException:
class path resource
[com/atlassian/jira/action/JiraActionSupport.class]
cannot be opened because it does not exist

 

Did someone got such error before and if yes - how did you fix it?

2 answers

This widget could not be displayed.

I think you are better off contacting the vendor of that particular add-on.

 

-Lars

Unfortunately, I am the developer.

This widget could not be displayed.

I had the same error as you in another plugin that provided some custom fields. The error was gone as soon as I removed the annotations from Atlassian spring scanner from every class that provided a custom field. In fact,

ProjectImportableCustomField.class

is an interface implemented by the classes used for making custom fields. Maybe this helps you as well. The thing that really baffles me and freaks me out is that we have to remove those annotations from the custom field classes. The annotations from Atlassian spring scanner are supposed to be necessary. Why do we have to remove them?

Since your case seems to be related to other sort of classes, maybe web actions or controllers, perhaps you have to remove the annotations from those classes.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 14 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

41 views 1 0
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