java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=java.lang.String, name='struts.objectFactory.spring.autoWire.alwaysRespect']
web.xml里 加入
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
本文讨论了在使用Struts框架时遇到的依赖解析错误问题,并提供了在web.xml文件中加入特定配置来解决该问题的方法。

553

被折叠的 条评论
为什么被折叠?



