First, check if the JIRA systems are the same version, and running on the same version of Java, as that may be a culprit.
If not, then I suspect your development environment is pulling in dependencies your add-on relies on within another add-on, or possibly just because it's running in a development mode. Check that the list of user-enabled add-ons is the same, and try disabling any in the dev system that are not running in production. See if it then happens in dev.
The above is all just to try to be sure that it is a dependency type thing.
Hopefully adding this should fix it. IF it is what I think it is:
In the web-resource section of your pom.xml, add this after
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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