Multi tenant Class Cast issue

  1. Platform 7.2.11
  2. I added multi tenant add on via market place
  3. when I create an entity with a screen and extend it to StandardTenantEntity I got the error message below in the running application
  4. Same issue when I implement TenantEntity interface and add the @TenantId annotation to the column containing the tenant ID manually.
  5. Same issue when I don’t add any entity. Completely new CUBA project, add multi tenant and start than the application.

ERROR MESSAGE: ClassCastException: com.haulmont.addon.sdbmt.web.tenant.TenantEdit incompatible with com.haulmont.addon.sdbmt.web.tenant.TenantBrowse

Solved: was not related to multi tenants.

Realted to the used JDK: