使用Spring2.5.6+Struts2.1.6开发的应用程序,在Tomcat,joss4.2.3,weblogic9.2上运行都正常,在jboss5和websphere6.1 websphere7上都无法实例化注释配置的bean在程序中使用了
<!-- 使用annotation 自动注册bean,并检查@Autowired,@Required的属性已被注入 -->
<context:component-scan base-package="*" />在运行时只会实便化通过 xml配置的bean,注释配置的bean无法实例化,急