org.springframework.test.web.server.samples.context.SecurityRequestPostProcessors的maven依赖项

org.springframework.test.web.server.samples.context.SecurityRequestPostProcessors的maven依赖项,spring,maven,testing,Spring,Maven,Testing,我应该在pom.xml中写什么 org.springframework.test.web.server.samples.context.SecurityRequestPostProcessors 将出现在我的项目中?此项目尚未在Maven Central中。你可以查一下。您需要在部分中添加指向的 为什么您实际上依赖于作为“示例”的代码 正如页面上所说的,你真的不应该使用这个。您应该使用spring-test,因为代码集成在那里。添加到pom.xml中 <repository>

我应该在pom.xml中写什么

org.springframework.test.web.server.samples.context.SecurityRequestPostProcessors

将出现在我的项目中?

此项目尚未在Maven Central中。你可以查一下。您需要在
部分中添加指向的

为什么您实际上依赖于作为“示例”的代码

正如页面上所说的,你真的不应该使用这个。您应该使用
spring-test
,因为代码集成在那里。

添加到pom.xml中

<repository>
    <id>spring-snaspho</id>
    <url>http://repo.springsource.org/libs-milestone/</url>
</repository>

<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-test</artifactId>
    <version>4.0.0.M1</version>
</dependency>

斯纳斯波温泉酒店
http://repo.springsource.org/libs-milestone/
org.springframework.security

()

从今天起,M1和M2都可以在上购买。