Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9327

NoClassDefFoundError from EventListenerModuleDescriptor

XMLWordPrintable

      Issue

      A NoClassDefFoundError is being thrown when a plugin tries to register a license listener using the PluginLicenseEventRegistry.

      java.lang.NoClassDefFoundError: com/atlassian/plugin/eventlistener/descriptors/EventListenerModuleDescriptor
      

      Cause

      In Bitbucket Server 4.11.0, the atlassian-event version was bumped from 3.0.0 to 3.1.3. Version 3.1.3 requires EventListenerModuleDescriptor, which is exported in atlassian-plugins-core from version 4.4.0 onward. However, EventListenerModuleDescriptor is not exported in atlassian-plugins-core version 4.2.4, which is being used by Bitbucket Server 4.11.0.

              spetrucev Stefan
              spetrucev Stefan
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: