struts2的问题,求高手解决,Actual exception
tomcat启动报错2013-09-2020:42:42-[DEBUG][com.opensymphony.xwork2.validator.DefaultValidat...
tomcat启动报错
2013-09-20 20:42:42-[DEBUG] [com.opensymphony.xwork2.validator.DefaultValidatorFactory] Loading validator definitions.
2013-09-20 20:42:43-[WARN] [com.opensymphony.xwork2.config.providers.InterceptorBuilder] Unable to load config class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor at interceptor - jar:file:/E:/apache-tomcat-7.0.42/webapps/socool/WEB-INF/lib/struts2-core-2.3.15.1.jar!/struts-default.xml:168:127 probably due to a missing jar, which might be fine if you never plan to use the validation interceptor
2013-09-20 20:42:43-[ERROR] [com.opensymphony.xwork2.config.providers.InterceptorBuilder] Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - jar:file:/E:/apache-tomcat-7.0.42/webapps/socool/WEB-INF/lib/struts2-core-2.3.15.1.jar!/struts-default.xml:168:127
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:214)
at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:70)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1110)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:928)
这是我的jar
我跟了下代码,好像是在加载AnnotationValidationInterceptor这个拦截器的时候报错了,牛人帮忙啊。 展开
2013-09-20 20:42:42-[DEBUG] [com.opensymphony.xwork2.validator.DefaultValidatorFactory] Loading validator definitions.
2013-09-20 20:42:43-[WARN] [com.opensymphony.xwork2.config.providers.InterceptorBuilder] Unable to load config class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor at interceptor - jar:file:/E:/apache-tomcat-7.0.42/webapps/socool/WEB-INF/lib/struts2-core-2.3.15.1.jar!/struts-default.xml:168:127 probably due to a missing jar, which might be fine if you never plan to use the validation interceptor
2013-09-20 20:42:43-[ERROR] [com.opensymphony.xwork2.config.providers.InterceptorBuilder] Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - interceptor - jar:file:/E:/apache-tomcat-7.0.42/webapps/socool/WEB-INF/lib/struts2-core-2.3.15.1.jar!/struts-default.xml:168:127
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:214)
at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:70)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1110)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:928)
这是我的jar
我跟了下代码,好像是在加载AnnotationValidationInterceptor这个拦截器的时候报错了,牛人帮忙啊。 展开
1个回答
2013-09-20
展开全部
struts2-core-2.3.15.1.jar!/struts-default.xml:168:127 probably due to a missing jar, which might be fine if you never plan to use the validation interceptor
要么缺少.jar、要么是版本不兼容
要么缺少.jar、要么是版本不兼容
追问
帮我看看,我传了图
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询