我缺少什么依赖性?我目前正在使用:org.springframework.web.bind.annotation.RequestMapping缺少什么依赖关系?
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
错误即时得到的是: 进口org.springframework.web.bind不能得到解决
感谢队友,也为我工作。你有没有任何想法,如果我们没有指定哪一个版本做春季下载?不是默认下载最新版本! – varunkr
当我们没有指定“”标签时,它会抛出错误/异常。因此标签“”是强制性的。其次,如果您没有在此标记中指定版本,则需要指定版本标记“LATEST”/“RELEASE”(仅当您使用Maven 2.x时)。对于Maven 3.x,meta版本标记不再受支持。始终指向最新版本的依赖关系可能会在构建应用程序时产生问题。因此强烈建议使用版本的具体值。 –
MAC
欲了解更多详细信息,请查看[Stackoverflow](https://stackoverflow.com/questions/30571/how-do-i-tell-maven-to-use-the-latest-version-of-a-dependency)和[Apache Maven](https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-PluginMetaversionResolution) – MAC