<property name="annotatedClasses">
<list>
<value>com.sise.domain.Admin</value>
<value>com.sise.domain.Remind</value>
<value>com.sise.domain.User</value>
</list>
</property>
<property name="annotatedClasses"> <list> <value>com.sise.domain.Admin</value> <value>com.sise.domain.Remind</value> <value>com.sise.domain.User</value> </list> </property>
可以使用下面代替
<property name="packagesToScan" value="com.sise.domain"/>