Fix links to Spring Session MongoDB examples
This commit is contained in:
@@ -7,7 +7,7 @@ This guide describes how to use Spring Session backed by Mongo.
|
||||
NOTE: The completed guide can be found in the <<mongo-sample, mongo sample application>>.
|
||||
|
||||
== Updating Dependencies
|
||||
Before you use Spring Session, you must ensure to update your dependencies.
|
||||
Before you use Spring Session MongoDB, you must ensure to update your dependencies.
|
||||
We assume you are working with a working Spring Boot web application.
|
||||
If you are using Maven, ensure to add the following dependencies:
|
||||
|
||||
@@ -18,15 +18,8 @@ If you are using Maven, ensure to add the following dependencies:
|
||||
<dependencies>
|
||||
<!-- ... -->
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.session</groupId>
|
||||
<artifactId>spring-session</artifactId>
|
||||
<version>{spring-session-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
include::{samples-dir}/pom.xml[tag=spring-session-data-mongodb]
|
||||
include::{samples-dir}/spring-session-data-mongodb-traditional-boot[tag=spring-data-mongodb]
|
||||
</dependencies>
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user