Unable to instantiate Action

在配置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.java
Line number: 1,680
仔细查找,原来是beans.xml配置中:
<context:component-scan base-package="lubinsu" />
中启用自动扫描的时候,包搞错了

你可能感兴趣的:(exception,action,login)