Error initializing application IllegalStateException: Can't find range class 'java.lang.Float'

Hi community,

I get this exception, when I try to deploy the application into my localhost:

> 11:16:34.358 ERROR c.h.c.c.s.AbstractWebAppContextLoader - Error initializing application java.lang.IllegalStateException: Can't find range class 'java.lang.Float' for property 'testapp$Mobile.bitrate 
at com.haulmont.cuba.core.sys.MetaModelLoader$RangeInitTask.execute( ~[cuba-global-6.9.4.jar:6.9.4]
        at com.haulmont.cuba.core.sys.MetaModelLoader.loadModel( ~[cuba-global-6.9.4.jar:6.9.4]
        at com.haulmont.cuba.core.sys.MetadataLoader.loadMetadata( ~[cuba-global-6.9.4.jar:6.9.4]

I just use “FLOAT” as datatype, without anything else like precision, and also in the mysql…could this be the error?



Float is not supported for JPA entities, you can use Double instead.

ok, thanks for this information :slight_smile: