String queryString = "from user where u.userName= ? and u.userPassword = ?";
-----------------------------------------------------------
改为:
String queryString = "from User where u.userName= ? and u.userPassword = ?";
我估计是因为:
<mapping resource="com/meetcomet/entity/User.hbm.xml" />