HPE Morpheus Enterprise Software
1856403 Members
8280 Online
104112 Solutions
New Discussion

Re: NoClassDefFoundError (UIExtensionProvider)

 
Not applicable

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?

1 REPLY 1
Not applicable

Re: NoClassDefFoundError (UIExtensionProvider)

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.