【发布时间】:2014-04-27 21:49:51
【问题描述】:
我正在尝试在 Websphere 7.0.27 服务器上部署 Struts - 2.1.6 应用程序。我已启用 LDAP 身份验证的安全性。当我尝试运行应用程序时,我收到以下错误消息:
[3/20/14 12:51:21:086 MDT] 00000017 SystemOut O 2014-03-20 12:51:21,086 警告 com.opensymphony.xwork2.config.providers.InterceptorBuilder - 无法加载配置类组织.apache.struts2.interceptor.validation.AnnotationValidationInterceptor 在拦截器** - wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/AppSrvHSCS/installedApps/IBM-7eee9b3778eNode02Cell/acys-hscs.ear/acys-hscs-web .war/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:146:127 可能是由于缺少 jar,如果您从不打算使用验证拦截器,这可能没问题 [3/20/14 12:51:21:093 MDT] 00000017 SystemOut O 2014-03-20 12:51:21,089 错误 com.opensymphony.xwork2.config.providers.InterceptorBuilder - **实际异常 注册拦截器类 org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - 拦截器 - wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/AppSrvHSCS/installedApps/IBM-7eee9b3778eNode02Cell/acys-hscs.ear/ 时捕获异常acys-hscs-web.war/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:146:127
【问题讨论】:
-
由于安全问题,请至少使用 Struts 2.3.16