TbCustConsuServuser is not mapped [From TbCustConsuServuser cust]

在hibernate开发中,以xml的形式配置POJO,如果出现以下问题:

SEVERE: Servlet.service() for servlet [springMVC] in context with path [/pm] threw exception [Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateQueryException: TbCustConsuServuser is not mapped [From TbCustConsuServuser cust]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: TbCustConsuServuser is not mapped [From TbCustConsuServuser cust]] with root cause
org.hibernate.hql.ast.QuerySyntaxException: TbCustConsuServuser is not mapped [From TbCustConsuServuser cust]

那么一般是没有在applicationContext.xml中配置对应的POJO文件

你可能感兴趣的:(TbCustConsuServuser is not mapped [From TbCustConsuServuser cust])