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
Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...
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