NoClassDefFoundError (UIExtensionProvider)

Hi,

We are getting this error, when trying to load our custom plugin.

Unable to load plugin class from …jar

java.lang.NoClassDefFoundError: com/morpheusdata/core/providers/UIExtensionProvider

This happens when we are overriding the getContentSecurityPolicy method in our provider class, which extends the AbstractInstanceTabProvider class.

Why does this happen?

Looks like that this error went away by removing:

import com.morpheusdata.model.ContentSecurityPolicy;

And the implmentation of the method: getContentSecurityPolicy

Find this very strange as our provider (non-abstract) class should implement this method, declared in of the interfaces from the top.