ssh中的bug

2023-06-27 16:41:15 浏览数 (1)

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.pluginsorg.eclipse.wst.server.coretmp2wtpwebappsStruts2_Spring_hibernate2WEB-INFclassesbean.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

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

0 人点赞