【问题标题】:StandAlone Spring MVC Test framework独立 Spring MVC 测试框架
【发布时间】:2013-08-28 01:33:22
【问题描述】:

我在为运行早于 3.2 的 Spring 版本的应用程序安装 spring mvc 测试框架(独立)时遇到困难。

https://github.com/SpringSource/spring-test-mvc 上可用的独立项目仅存在于源代码中,我不确定应如何将其添加到工作项目的当前构建路径中,以便在我尝试编写的测试类中访问它。

是否可以将其作为 .jar 库下载,或者我应该采取什么具体步骤?

【问题讨论】:

标签: eclipse spring-mvc-test


【解决方案1】:

当然可以将其下载为 jar: http://mvnrepository.com/artifact/org.springframework/spring-test/3.2.4.RELEASE

将 jar 链接到: http://repo1.maven.org/maven2/org/springframework/spring-test/3.2.4.RELEASE/spring-test-3.2.4.RELEASE.jar

那么您需要将 is 作为库添加到您的项目中,这是不同的主题(您可能应该看看 maven 是什么)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-23
    • 2019-02-04
    • 2012-12-11
    • 2016-03-11
    • 1970-01-01
    • 2012-12-16
    • 1970-01-01
    • 2014-10-14
    相关资源
    最近更新 更多