S2SH开发中的Error-映射错误
来源:互联网 发布:手机淘宝写追评句子 编辑:程序博客网 时间:2024/06/06 15:42
Hibernate中的 not mapped
5 1节不要放弃治疗
HTTP Status 500 - user is not mapped [from user where name=? and phone=? order by id]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: user is not mapped [from user where name=? and phone=? order by id]
这是Hibernate中的HQL语句标准 ,这样的"from user where name=? and phone=? order by id"是不行的,因为user不是一个类,应该这样写"from User u where u.name=? and u.phone=? order by id"
这样解决之后
HTTP Status 404 - /AnkeleBlog2/list.jsp
404不是500,说明是有效果的数据库中也多出了一条记录
微调一下路径,OK了,后面还有很多的问题,来吧!
1 0
- S2SH开发中的Error-映射错误
- S2SH开发中的乱码解决
- S2SH错误
- S2SH整合开发步骤
- S2SH整合开发
- S2SH开发环境搭建
- S2SH整合出现了错误
- 在xml配置方式整合S2SH项目中的错误(崩溃中)
- Symbian 开发中的 Error
- 基于S2SH框架开发项目
- s2sh开发环境配置文档
- s2sh整合开发的配置
- 解决s2sh项目开发中的SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- s2sh
- 关于PHP开发中的Fatal error: Call-time pass-by-reference has been removed in ... 错误
- AE开发中的错误
- IPhone 开发中的错误
- S2SH中java.lang.NoSuchMethodError错误分析
- Linux账号管理
- 基于A*算法10*10迷宫
- 软件设计模式——责任链模式(Chain Of Responsibility)
- HDU 1166 敌兵布阵
- 英语四月总结
- S2SH开发中的Error-映射错误
- CSU oj 1685 Entertainment Box
- C++11一些新特性
- 第三天测试
- QML 中的 ListView 中的隐藏秘技
- mysql 子查询优化
- Trace32 dump bmp
- 文件操作
- java中的变量