sun.reflect.NativeMethodAccessorImpl.invoke0

java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39 )
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25 )
java.lang.reflect.Method.invoke(Method.java: 597 )
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java: 441 )
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java: 280 )
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java: 243 )
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java: 165 )
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java: 87 )
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java: 237 )
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java: 252 )
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java: 68 )
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java: 87 )
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java: 237 )
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java: 122 )
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java: 237

解决方法:
把hibernate的jar包导入web-inf/lib中去

你可能感兴趣的:(hibernate)