查询异常,求解决

Type Exception Report

Message Method "execute" failed for object com.action.UserManagerAction@2bf539db

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

ognl.MethodFailedException: Method "execute" failed for object com.action.UserManagerAction@2bf539db [java.lang.NoSuchMethodError: org.hibernate.Session.createQuery(Ljava/lang/String;)Lorg/hibernate/Query;]
ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1305)
ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)
ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1369)
ognl.ASTMethod.getValueBody(ASTMethod.java:90)
ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
ognl.SimpleNode.getValue(SimpleNode.java:258)


刃行
浏览 1695回答 1
1回答

骑着蜗牛定乾坤

java.lang.NoSuchMethodError: org.hibernate.Session.createQuery  感觉是不是缺少jar包
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java