`

struts2.0+spring2.5在weblogic10.3上部署

阅读更多

struts2.0+spring2.5在weblogic10.3上部署时提示找不到action,action是由spring管理的。

问题信息:
Action class [redirectAction] not found - action - zip:/weblog10/bea/user_projects/domains/limsdomain/servers/AdminServer/tmp/_WL_user/LIMS/ukl4b0/war/WEB-INF/lib/_wl_cls_gen.jar!/struts.xml:16:69
applicationContext-*.xml配置信息:
<bean id="redirectAction" class="com.comm.action.RedirectAction">
</bean>
struts.xml配置信息:
<action name="redirect" class="redirectAction">
 <result name="redirect">${url}</result>
</action>

 

   问题已解决:在weblogic10.3上使用applicationContext-*.xml配置不能正常加载,修改成执行每个配置文件即可:

 

   applicationContext-test1.xml,

   applicationContext-test2.xml

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics