报错:DoubleType cannot be cast to org .hibernate.type

DoubleType  cannot  be cast to org .hibernate.type

 

 把@version删去或是

或者是(hbm)

<version name="version" type="java.lang.String"> 
            <column name="version" length="50" /> 
</version> 原因

 解决方法:

原文地址:https://www.cnblogs.com/libaowen609/p/12819688.html