最近在学习Spring的过程中遇到了一个错误,如下图所示
原因是没有正确的配置util的引用资源,在struts.xml文件中我们需要添加下面的配置
xmlns:util="http://www.springframework.org/schema/util"
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-4.0.xsd"
最终效果如下图