使用SSI框架碰到的问题
2012-07-2410:54:05,677DEBUG[com.opensymphony.xwork2.conversion.impl.XWorkConverter]-C...
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: pojo.Student
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - field-level type converter for property [stel] = none found
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: student.stel
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: action.StudentAction
2012-07-24 10:54:05,678 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - global-level type converter for property [stel] = none found
2012-07-24 10:54:05,679 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@109148d]
2012-07-24 10:54:05,682 DEBUG [org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor] - Validating /action/studentAction_saveStudent with method saveStudent.
2012-07-24 10:54:05,683 DEBUG [com.opensymphony.xwork2.validator.ValidationInterceptor] - Invoking validate() on action action.StudentAction@1fb3d5
2012-07-24 10:54:05,683 DEBUG [com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] - cannot find method [validateSaveStudent] in action [action.StudentAction@1fb3d5]
2012-07-24 10:54:05,684 DEBUG [com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] - cannot find method [validateDoSaveStudent] in action [action.StudentAction@1fb3d5]
2012-07-24 10:54:05,684 DEBUG [com.opensymphony.xwork2.DefaultActionInvocation] - Executing action method = saveStudent
==============>陈明
==============>org.mybatis.spring.SqlSessionTemplate@181809a
2012-07-24 10:55:36,728 DEBUG [org.mybatis.spring.SqlSessionUtils] - Creating SqlSession with JDBC Connection [net.sourceforge.jtds.jdbc.ConnectionJDBC3@2b26a4]
程序一直卡在 Creating SqlSession 这里,前面页面也走不下,请问是什么问题呢 展开
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - field-level type converter for property [stel] = none found
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Property: student.stel
2012-07-24 10:54:05,677 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - Class: action.StudentAction
2012-07-24 10:54:05,678 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - global-level type converter for property [stel] = none found
2012-07-24 10:54:05,679 DEBUG [com.opensymphony.xwork2.conversion.impl.XWorkConverter] - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@109148d]
2012-07-24 10:54:05,682 DEBUG [org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor] - Validating /action/studentAction_saveStudent with method saveStudent.
2012-07-24 10:54:05,683 DEBUG [com.opensymphony.xwork2.validator.ValidationInterceptor] - Invoking validate() on action action.StudentAction@1fb3d5
2012-07-24 10:54:05,683 DEBUG [com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] - cannot find method [validateSaveStudent] in action [action.StudentAction@1fb3d5]
2012-07-24 10:54:05,684 DEBUG [com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil] - cannot find method [validateDoSaveStudent] in action [action.StudentAction@1fb3d5]
2012-07-24 10:54:05,684 DEBUG [com.opensymphony.xwork2.DefaultActionInvocation] - Executing action method = saveStudent
==============>陈明
==============>org.mybatis.spring.SqlSessionTemplate@181809a
2012-07-24 10:55:36,728 DEBUG [org.mybatis.spring.SqlSessionUtils] - Creating SqlSession with JDBC Connection [net.sourceforge.jtds.jdbc.ConnectionJDBC3@2b26a4]
程序一直卡在 Creating SqlSession 这里,前面页面也走不下,请问是什么问题呢 展开
展开全部
你的bean 类 没有和数据库 实体对应 看一下 你的 Student 类 stel 属性 和 数据库是否 对应了 或者 你的hibernate 配置文件与之对应 。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询