【发布时间】:2012-10-28 16:55:01
【问题描述】:
我正在尝试为
找到合适的pom 条目
org.springframework.web.servlet-3.1.2.RELEASE.jar
访问了网页,但没有更多内容
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>3.1.2.RELEASE</version>
</dependency>
最终我需要导入
import org.springframework.web.servlet.ModelAndView;
但我无法在here 中找到这个罐子。找到了我需要的一切,但 servlet。
请帮忙
【问题讨论】:
-
您是否尝试过将
spring-web添加为项目的依赖项? -
spring-web工件被添加为如上所示的依赖项