前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >ssh中的bug

ssh中的bug

作者头像
Dlimeng
发布2023-06-27 16:41:15
发布2023-06-27 16:41:15
950
举报
文章被收录于专栏:开源心路开源心路

Struts Problem Report

Struts has detected an unhandled exception:

Messages:  

Table 'tour.hibernate_sequence' doesn't exist

error performing isolated work

File:  org/hibernate/exception/internal/SQLExceptionTypeDelegate.java

Line number: 63

org.hibernate.exception.SQLGrammarException: error performing isolated work

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'tour.hibernate_sequence' doesn't exist

解决方案:?

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

解决方案缺少:commons-logging-1.1.1.jar

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\workspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Struts2_Spring_hibernate2\WEB-INF\classes\bean.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Unable to load class [ com.lm.model.Student] declared in Hibernate configuration entry

解决方案:是因为在将spring框架和hibernate框架进行整合的时候

由于Spring中的“asm-2.2.3.jar”和Hibernate中的“asm.jar”包冲突

Overflow or underflow casting: "15822833227" into class java.lang.Integer - [unknown location]

溢出或下溢铸造:“”走进课堂java.lang.integer - [未知的位置]

No result defined for action com.three.action.CustomerAction and result input - action - file:/D:/workspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/wuliu_01/WEB-INF/classes/struts.xml:28:73

行动和结果输入动作文件没有定义结果

解决方案:属性不对,溢出类型

Exception in thread "main" org.hibernate.MappingException: Unknown entity: com.lm.model.Student

解决方案:没有配置对象关系映射文件

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2016-10-03,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档