---
title: "Macro cannot be cast error"
canonical: "https://support.appfire.com/space/ME/289477044/Macro%20cannot%20be%20cast%20error"
format: markdown
---
> Macro (aura-html)

> ℹ️ **Example**: I'm using v 2.0.7 or 2.0.x of the plugin, but it is not accepting my license.

## Errors

> ℹ️ “Error rendering macro ‘multiexcerpt-include’: com.atlassian.upm.license.internal.impl.PluginLicenseManagerImpl cannot be cast to com.atlassian.upm.api.license.PluginLicenseManager”

> ℹ️ Error creating bean with name 'pluginLicenseStoragePluginInstaller' defined in URL [bundle://XXX:0/META-INF/spring/atlassian-plugins-components.xml]: 
> ℹ️ 
> ℹ️ Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

## Tips

> ✅ Try upgrading your Universal Plugin Manager (UPM) to the latest for both cases. This is done through the **Confluence **> **Administration** > **Settings** > **Manage Apps**. You can search for the *Atlassian UPM*. You can also find the [UPM on the Atlassian Marketplace](https://marketplace.atlassian.com/plugins/com.atlassian.upm.atlassian-universal-plugin-manager-plugin).
> ✅ 
> ✅ Other users have reported that upgrading the UPM will fix this problem.
> ✅ 
> ✅ If you cannot upgrade the UPM, you can roll back to an earlier version of the MultiExcerpt if that works for you.