I encounter this problem and I can not manage to fix it since all configuration seems right: I´m in process to migrate my WebApp to Jmix 1.3.1, Build the app runs with no errors but when I want to Run/Debug it gives me this error:
**<<Exception Description: [class com.package.program.entity.DocumentoProveedor]** **uses a non-entity [class com.haulmont.cuba.core.entity.FileDescriptor]** **as target entity in the relationship attribute [field documento].>>**
The Java class “FileDescriptor” IT IS a @JmixEntity as you can see
I import FileDescriptor from:
My Java class “DocumentoProveedor”… same:
Here is where I use FileDescriptor
Persistance.xml was created succesfully with all Entities annotated.
Just in case is usefull I leave here the log of the error: