Unable to instantiate Action

来源:互联网 发布:平安科技 云计算 编辑:程序博客网 时间:2024/05/02 02:50

在配置SSJ的时候,打开页面发现提示:无法实例化action

Struts has detected an unhandled exception:

Messages:
  1. userAction
  2. Unable to instantiate Action, userAction, defined for 'register_login_add' in namespace '/lubinsu/control/user'userAction
File:org/apache/catalina/loader/WebappClassLoader.javaLine number:1,680仔细查找,原来是beans.xml配置中:
<context:component-scan base-package="lubinsu" />
中启用自动扫描的时候,包搞错了
原创粉丝点击