前言
按照网上很多教程,出错特别多。首先是GitHub和maven仓库的网络环境比较差,踩了很多坑;其次是SpringInitializr更新迭代几个版本,0.7.0我也没能弄成功。索性就用了旧版本0.6.0
一、运行环境
Maven版本:3.5.3
JDK:1.8
Windows:win7 x64
Spring Initilizr版本:v0.6.0
二、设置使用阿里的maven仓库
maven安装目录中,conf文件夹下settings配置文件mirrors节点增加以下子节点:
<mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>
三、下载并编译SpringInitializr
(一)下载源码
git或者其他方式下载,主页:https://github.com/spring-io/initializr
Windows下比较懒,我就直接进 https://github.com/spring-io/initializr/releases下载了zip
(二)编译
试了网上很多mvnw clean install或者mvn clean install的命令,可能环境有点差异,几个子项目五花八门,test执行很多报错,所以忽略了test。在initializr文件夹下执行以下命令成功:
mvn clean install -DskipTests
成功界面(转载1):
最后到本地maven仓库文件夹下,确认下是否有以上几个jar包,版本为0.6.0,截图如下:
(三)idea中新建SpringBoot项目并模仿service文件夹内的方式增加以来,修改配置文件:
(1)修改pom.xml,我用了war的打包方式,方便部署到服务器。
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.6.RELEASE</version> <relativePath/> <#gth# lookup parent from repository --> </parent> <groupId>com.test</groupId> <artifactId>springInitializr</artifactId> <version>0.0.1-SNAPSHOT</version> <name>SpringInitializr</name> <description>SpringInitializr test project</description> <packaging>war</packaging> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>io.spring.initializr</groupId> <artifactId>initializr-web</artifactId> <version>0.6.0.RELEASE</version> </dependency> <dependency> <groupId>io.spring.initializr</groupId> <artifactId>initializr-actuator</artifactId> <version>0.6.0.RELEASE</version> </dependency> <dependency> <groupId>javax.cache</groupId> <artifactId>cache-api</artifactId> </dependency> <dependency> <groupId>org.ehcache</groupId> <artifactId>ehcache</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.spring.initializr</groupId> <artifactId>initializr-generator</artifactId> <type>test-jar</type> <scope>test</scope> <version>0.6.0.RELEASE</version> </dependency> <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <scope>test</scope> <version>1.5</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project>
(2)修改配置文件application.yml
local:
gcp:
version: 1.0.0.RC1
logging:
level:
org.springframework.core.env: warn
org.springframework.jndi: warn
server:
compression:
enabled: true
mime-types: application/json,text/css,text/html
min-response-size: 2048
spring:
jackson:
serialization:
write-dates-as-timestamps: false
resources:
chain:
strategy:
content:
enabled: true
initializr:
env:
boms:
azure:
groupId: com.microsoft.azure
artifactId: azure-spring-boot-bom
versionProperty: azure.version
mappings:
- versionRange: "[1.5.4.RELEASE,2.0.0.RELEASE)"
version: 0.2.4
- versionRange: "2.0.0.RELEASE"
version: 2.0.4
codecentric-spring-boot-admin:
groupId: de.codecentric
artifactId: spring-boot-admin-dependencies
versionProperty: spring-boot-admin.version
mappings:
- versionRange: "[1.5.9.RELEASE,2.0.0.M1)"
version: 1.5.7
- versionRange: "[2.0.0.M1,2.0.x.BUILD-SNAPSHOT)"
version: 2.0.1
- versionRange: "2.0.x.BUILD-SNAPSHOT"
version: 2.0.2-SNAPSHOT
repositories: sonatype-snapshots
keycloak:
groupId: org.keycloak.bom
artifactId: keycloak-adapter-bom
versionProperty: keycloak.version
version: 3.4.2.Final
spring-cloud:
groupId: org.springframework.cloud
artifactId: spring-cloud-dependencies
versionProperty: spring-cloud.version
order: 50
mappings:
- versionRange: "[1.2.3.RELEASE,1.3.0.RELEASE)"
version: Angel.SR6
- versionRange: "[1.3.0.RELEASE,1.4.0.RELEASE)"
version: Brixton.SR7
- versionRange: "[1.4.0.RELEASE,1.4.x.RELEASE]"
version: Camden.SR7
- versionRange: "[1.5.0.RELEASE,1.5.x.RELEASE]"
version: Edgware.SR4
- versionRange: "[1.5.x.BUILD-SNAPSHOT,2.0.0.M1)"
version: Edgware.BUILD-SNAPSHOT
repositories: spring-snapshots,spring-milestones
- versionRange: "[2.0.0.M3, 2.0.0.M5)"
version: Finchley.M2
repositories: spring-milestones
- versionRange: "[2.0.0.M5, 2.0.0.M5]"
version: Finchley.M3
repositories: spring-milestones
- versionRange: "[2.0.0.M6, 2.0.0.M6]"
version: Finchley.M4
repositories: spring-milestones
- versionRange: "[2.0.0.M7, 2.0.0.M7]"
version: Finchley.M5
repositories: spring-milestones
- versionRange: "[2.0.0.RC1, 2.0.0.RC1]"
version: Finchley.M6
repositories: spring-milestones
- versionRange: "[2.0.0.RC2,2.0.0.RC2]"
version: Finchley.M7
repositories: spring-milestones
- versionRange: "[2.0.0.RELEASE,2.0.0.RELEASE]"
version: Finchley.M9
repositories: spring-milestones
- versionRange: "[2.0.1.RELEASE,2.0.2.RELEASE)"
version: Finchley.RC1
repositories: spring-milestones
- versionRange: "[2.0.2.RELEASE,2.0.3.RELEASE)"
version: Finchley.RC2
repositories: spring-milestones
- versionRange: "[2.0.3.RELEASE,2.0.x.BUILD-SNAPSHOT)"
version: Finchley.RELEASE
- versionRange: "2.0.x.BUILD-SNAPSHOT"
version: Finchley.BUILD-SNAPSHOT
repositories: spring-snapshots,spring-milestones
spring-cloud-gcp:
groupId: org.springframework.cloud
artifactId: spring-cloud-gcp-dependencies
versionProperty: spring-cloud-gcp.version
additionalBoms: [spring-cloud]
version: ${local.gcp.version}
repositories: spring-milestones
spring-cloud-services:
groupId: io.pivotal.spring.cloud
artifactId: spring-cloud-services-dependencies
versionProperty: spring-cloud-services.version
additionalBoms: [spring-cloud]
mappings:
- versionRange: "[1.3.0.RELEASE,1.4.0.RELEASE)"
version: 1.2.1.RELEASE
- versionRange: "[1.4.0.RELEASE,1.4.x.RELEASE]"
version: 1.5.0.RELEASE
- versionRange: "[1.5.0.RELEASE,1.5.x.BUILD-SNAPSHOT]"
version: 1.6.3.RELEASE
- versionRange: "[2.0.0.RELEASE,2.0.x.RELEASE]"
version: 2.0.0.RELEASE
- versionRange: "2.0.x.BUILD-SNAPSHOT"
version: 2.0.1.BUILD-SNAPSHOT
repositories: spring-snapshots,spring-milestones
spring-cloud-task:
groupId: org.springframework.cloud
artifactId: spring-cloud-task-dependencies
versionProperty: spring-cloud-task.version
order: 30
mappings:
- versionRange: "[1.3.0.RELEASE, 1.4.0.RELEASE]"
version: 1.0.3.RELEASE
- versionRange: "[1.4.0.RELEASE, 1.5.0.RC1)"
version: 1.1.2.RELEASE
- versionRange: "[1.5.0.RC1, 2.0.0.M1)"
version: 1.2.3.RELEASE
- versionRange: "[2.0.0.M2, 2.0.0.RELEASE)"
version: 2.0.0.M3
repositories: spring-milestones
- versionRange: "2.0.0.RELEASE"
version: 2.0.0.RELEASE
spring-statemachine:
groupId: org.springframework.statemachine
artifactId: spring-statemachine-bom
versionProperty: spring-statemachine.version
mappings:
- versionRange: "[2.0.0.RC1,2.0.0.RC1]"
version: 2.0.0.M4
repositories: spring-milestones
- versionRange: "[2.0.0.RC2,2.0.0.RC2]"
version: 2.0.0.M5
repositories: spring-milestones
- versionRange: "2.0.0.RELEASE"
version: 2.0.1.RELEASE
vaadin:
groupId: com.vaadin
artifactId: vaadin-bom
versionProperty: vaadin.version
mappings:
- versionRange: "[1.3.0.RELEASE, 1.5.0.M1)"
version: 7.7.7
- versionRange: 1.5.0.M1
version: 8.4.4
gradle:
dependency-management-plugin-version: 0.6.0.RELEASE
kotlin:
default-version: 1.2.41
repositories:
sonatype-snapshots:
name: Sonatype Snapshots
url: https://oss.sonatype.org/content/repositories/snapshots/
snapshotsEnabled: true
dependencies:
- name: Core
content:
- name: DevTools
id: devtools
groupId: org.springframework.boot
artifactId: spring-boot-devtools
scope: runtime
description: Spring Boot Development Tools
versionRange: 1.3.0.RELEASE
starter: false
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#using-boot-devtools
- name: Security
id: security
description: Secure your application via spring-security
weight: 100
links:
- rel: guide
href: https://spring.io/guides/gs/securing-web/
description: Securing a Web Application
- rel: guide
href: https://spring.io/guides/tutorials/spring-boot-oauth2/
description: Spring Boot and OAuth2
- rel: guide
href: https://spring.io/guides/gs/authenticating-ldap/
description: Authenticating a User with LDAP
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-security
- name: Lombok
id: lombok
groupId: org.projectlombok
artifactId: lombok
scope: compileOnly
description: Java annotation library which helps to reduce boilerplate code and code faster
mappings:
- versionRange: "[1.2.0.RELEASE,1.4.0.M1)"
version: 1.16.6
starter: false
- name: Configuration Processor
id: configuration-processor
groupId: org.springframework.boot
artifactId: spring-boot-configuration-processor
scope: compileOnly
description: Generate metadata for your custom configuration keys
versionRange: 1.2.0.RELEASE
starter: false
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#configuration-metadata-annotation-processor
- name: Session
id: session
groupId: org.springframework.session
artifactId: spring-session-core
description: API and implementations for managing a user’s session information
versionRange: "1.3.0.RELEASE"
starter: false
mappings:
- versionRange: "[1.3.0.RELEASE,2.0.0.M2]"
artifactId: spring-session
- name: Cache
id: cache
description: Spring's Cache abstraction
versionRange: 1.3.0.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/caching/
description: Caching Data with Spring
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-caching
- name: Validation
id: validation
description: JSR-303 validation infrastructure (already included with web)
versionRange: 1.3.0.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/validating-form-input/
title: Validating Form Input
- name: Retry
id: retry
groupId: org.springframework.retry
artifactId: spring-retry
description: Provide declarative retry support via spring-retry
versionRange: 1.3.0.RELEASE
starter: false
- name: JTA (Atomikos)
id: jta-atomikos
description: JTA distributed transactions via Atomikos
versionRange: 1.2.0.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/managing-transactions/
description: Managing Transactions
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-jta-atomikos
- name: JTA (Bitronix)
id: jta-bitronix
description: JTA distributed transactions via Bitronix
versionRange: 1.2.0.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/managing-transactions/
description: Managing Transactions
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-jta-bitronix
- name: JTA (Narayana)
id: jta-narayana
description: JTA distributed transactions via Narayana
versionRange: 1.4.0.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/managing-transactions/
description: Managing Transactions
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-jta-narayana
- name: Aspects
id: aop
description: Create your own Aspects using Spring AOP and AspectJ
- name: Web
content:
- name: Web
id: web
description: Full-stack web development with Tomcat and Spring MVC
weight: 100
facets:
- web
- json
links:
- rel: guide
href: https://spring.io/guides/gs/rest-service/
description: Building a RESTful Web Service
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-developing-web-applications
- rel: guide
href: https://spring.io/guides/gs/serving-web-content/
description: Serving Web Content with Spring MVC
- rel: guide
href: https://spring.io/guides/tutorials/bookmarks/
description: Building REST services with Spring
- name: Reactive Web
id: webflux
versionRange: 2.0.0.M1
description: Reactive web development with Netty and Spring WebFlux
weight: 90
facets:
- json
- name: Rest Repositories
id: data-rest
weight: 10
facets:
- json
description: Exposing Spring Data repositories over REST via spring-data-rest-webmvc
links:
- rel: guide
href: https://spring.io/guides/gs/accessing-data-rest/
description: Accessing JPA Data with REST
- rel: guide
href: https://spring.io/guides/gs/accessing-neo4j-data-rest/
description: Accessing Neo4j Data with REST
- rel: guide
href: https://spring.io/guides/gs/accessing-mongodb-data-rest/
description: Accessing MongoDB Data with REST
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#howto-use-exposing-spring-data-repositories-rest-endpoint
- name: Rest Repositories HAL Browser
id: data-rest-hal
description: Browsing Spring Data REST repositories in your browser
groupId: org.springframework.data
artifactId: spring-data-rest-hal-browser
versionRange: 1.3.0.RELEASE
- name: HATEOAS
id: hateoas
description: HATEOAS-based RESTful services
versionRange: 1.2.2.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/rest-hateoas/
description: Building a Hypermedia-Driven RESTful Web Service
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-spring-hateoas
starter: false
- name: Web Services
id: web-services
description: Contract-first SOAP service development with Spring Web Services
aliases:
- ws
mappings:
- versionRange: 1.4.0.M3
artifactId: spring-boot-starter-web-services
- versionRange: "[1.1.0.RELEASE,1.4.0.M3)"
artifactId: spring-boot-starter-ws
links:
- rel: guide
href: https://spring.io/guides/gs/producing-web-service/
description: Producing a SOAP web service
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-webservices
- name: Jersey (JAX-RS)
id: jersey
description: RESTful Web Services framework with support of JAX-RS
facets:
- json
versionRange: 1.2.0.RELEASE
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-jersey
- name: Websocket
id: websocket
description: Websocket development with SockJS and STOMP
links:
- rel: guide
href: https://spring.io/guides/gs/messaging-stomp-websocket/
description: Using WebSocket to build an interactive web application
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-websockets
- name: REST Docs
id: restdocs
description: Document RESTful services by combining hand-written and auto-generated documentation
groupId: org.springframework.restdocs
artifactId: spring-restdocs-mockmvc
mappings:
- versionRange: "[1.2.0.RELEASE,1.3.0.RC1)"
version: 1.0.1.RELEASE
scope: test
- name: Vaadin
id: vaadin
facets:
- web
groupId: com.vaadin
artifactId: vaadin-spring-boot-starter
description: Vaadin java web application framework
bom: vaadin
versionRange: 1.2.0.RELEASE
mappings:
- versionRange: "[1.2.0.RELEASE,1.4.0.RELEASE)"
version: 1.0.2
- versionRange: "[1.4.0.RELEASE,1.5.0.M1)"
version: 1.2.0
links:
- rel: guide
href: https://spring.io/guides/gs/crud-with-vaadin/
description: Creating CRUD UI with Vaadin
- rel: reference
href: https://vaadin.com/spring
- name: Apache CXF (JAX-RS)
id: cxf-jaxrs
groupId: org.apache.cxf
artifactId: cxf-spring-boot-starter-jaxrs
version: 3.1.11
description: RESTful Web Services framework with support of JAX-RS
versionRange: "[1.4.0.RELEASE,2.0.0.M1)"
links:
- rel: reference
href: https://cxf.apache.org/docs/springboot.html#SpringBoot-SpringBootCXFJAX-RSStarter
- name: Ratpack
id: ratpack
description: Spring Boot integration for the Ratpack framework
groupId: io.ratpack
artifactId: ratpack-spring-boot
version: 1.1.1
versionRange: "[1.2.0.RELEASE,2.0.0.M1)"
starter: false
- name: Mobile
id: mobile
description: Simplify the development of mobile web applications with spring-mobile
versionRange : "[1.0.0.RELEASE, 2.0.0.M1)"
- name: Keycloak
id: keycloak
description: Keycloak integration, an open source Identity and Access Management solution.
groupId: org.keycloak
artifactId: keycloak-spring-boot-starter
versionRange: "[1.5.3.RELEASE,2.0.0.M1)"
bom: keycloak
links:
- rel: reference
href: https://keycloak.gitbooks.io/documentation/securing_apps/topics/oidc/java/spring-boot-adapter.html
- name: Template Engines
content:
- name: Thymeleaf
id: thymeleaf
description: Thymeleaf templating engine
weight: 90
keywords:
- template
links:
- rel: guide
href: https://spring.io/guides/gs/handling-form-submission/
description: Handling Form Submission
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-spring-mvc-template-engines
- name: Freemarker
id: freemarker
description: FreeMarker templating engine
keywords:
- template
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-spring-mvc-template-engines
- name: Mustache
id: mustache
description: Mustache templating engine
versionRange: 1.2.2.RELEASE
keywords:
- template
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-spring-mvc-template-engines
- name: Groovy Templates
id: groovy-templates
description: Groovy templating engine
facets:
- web
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-spring-mvc-template-engines
- name: SQL
content:
- name: JPA
id: data-jpa
description: Java Persistence API including spring-data-jpa, spring-orm and Hibernate
weight: 100
aliases:
- jpa
links:
- rel: guide
href: https://spring.io/guides/gs/accessing-data-jpa/
description: Accessing Data with JPA
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-jpa-and-spring-data
- name: MySQL
id: mysql
description: MySQL JDBC driver
groupId: mysql
artifactId: mysql-connector-java
scope: runtime
starter: false
links:
- rel: guide
href: https://spring.io/guides/gs/accessing-data-mysql/
description: Accessing data with MySQL
- name: H2
id: h2
description: H2 database (with embedded support)
groupId: com.h2database
artifactId: h2
scope: runtime
starter: false
- name: JDBC
id: jdbc
description: JDBC databases
links:
- rel: guide
href: https://spring.io/guides/gs/relational-data-access/
description: Accessing Relational Data using JDBC with Spring
- rel: guide
href: https://spring.io/guides/gs/managing-transactions/
description: Managing Transactions
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-sql
- name: MyBatis
id: mybatis
description: Persistence support using MyBatis
links:
- rel: guide
href: https://github.com/mybatis/spring-boot-starter/wiki/Quick-Start
description: Quick Start
- rel: reference
href: http://www.mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/
groupId: org.mybatis.spring.boot
artifactId: mybatis-spring-boot-starter
mappings:
- versionRange: "[1.3.0.RELEASE,1.4.0.RELEASE)"
version: 1.1.1
- versionRange: "[1.4.0.RELEASE,1.5.0.RELEASE)"
version: 1.2.2
- versionRange: 1.5.0.RELEASE
version: 1.3.2
- name: PostgreSQL
id: postgresql
description: PostgreSQL JDBC driver
groupId: org.postgresql
artifactId: postgresql
mappings:
- versionRange: "[1.2.0.RELEASE,1.3.0.M1)"
version: 9.4-1201-jdbc41
scope: runtime
starter: false
- name: SQL Server
id: sqlserver
description: Microsoft SQL Server JDBC driver
versionRange: 1.5.0.RC1
groupId: com.microsoft.sqlserver
artifactId: mssql-jdbc
scope: runtime
starter: false
- name: HSQLDB
id: hsql
description: HSQLDB database (with embedded support)
groupId: org.hsqldb
artifactId: hsqldb
scope: runtime
starter: false
- name: Apache Derby
id: derby
description: Apache Derby database (with embedded support)
groupId: org.apache.derby
artifactId: derby
scope: runtime
versionRange: 1.2.2.RELEASE
starter: false
- name: Liquibase
id: liquibase
description: Liquibase Database Migrations library
groupId: org.liquibase
artifactId: liquibase-core
starter: false
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#howto-execute-liquibase-database-migrations-on-startup
- name: Flyway
id: flyway
description: Flyway Database Migrations library
groupId: org.flywaydb
artifactId: flyway-core
starter: false
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#howto-execute-flyway-database-migrations-on-startup
- name: JOOQ
id: jooq
description: Persistence support using Java Object Oriented Querying
versionRange: 1.3.0.RELEASE
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-jooq
- name: NoSQL
content:
- name: Redis
id: data-redis
description: Redis key-value data store, including spring-data-redis
aliases:
- redis
mappings:
- versionRange: 1.4.0.M1
artifactId: spring-boot-starter-data-redis
- versionRange: "[1.1.5.RELEASE,1.4.0.M1)"
artifactId: spring-boot-starter-redis
links:
- rel: guide
href: https://spring.io/guides/gs/messaging-redis/
description: Messaging with Redis
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-redis
- name: Reactive Redis
id: data-redis-reactive
description: Redis key-value data store, including spring-data-redis
versionRange: 2.0.0.M7
links:
- rel: guide
href: https://spring.io/guides/gs/messaging-redis/
description: Messaging with Redis
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-redis
- name: MongoDB
id: data-mongodb
description: MongoDB NoSQL Database, including spring-data-mongodb
weight: 50
links:
- rel: guide
href: https://spring.io/guides/gs/accessing-data-mongodb/
description: Accessing Data with MongoDB
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-mongodb
- name: Reactive MongoDB
id: data-mongodb-reactive
description: MongoDB NoSQL Database, including spring-data-mongodb and the reactive driver
versionRange: 2.0.0.M1
weight: 50
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-mongodb
- name: Embedded MongoDB
id: flapdoodle-mongo
description: Embedded MongoDB for testing
versionRange: 1.3.0.RELEASE
groupId: de.flapdoodle.embed
artifactId: de.flapdoodle.embed.mongo
scope: test
starter: false
- name: Elasticsearch
id: data-elasticsearch
description: Elasticsearch search and analytics engine including spring-data-elasticsearch
weight: 10
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-elasticsearch
- name: Solr
id: data-solr
description: Apache Solr search platform, including spring-data-solr
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-solr
- name: Cassandra
id: data-cassandra
description: Cassandra NoSQL Database, including spring-data-cassandra
versionRange: 1.3.0.RC1
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-cassandra
- name: Reactive Cassandra
id: data-cassandra-reactive
description: Cassandra NoSQL Database, including spring-data-cassandra and the reactive driver
versionRange: 2.0.0.M1
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-cassandra
- name: Couchbase
id: data-couchbase
description: Couchbase NoSQL database, including spring-data-couchbase
versionRange: 1.4.0.RELEASE
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-couchbase
- name: Reactive Couchbase
id: data-couchbase-reactive
description: Couchbase NoSQL database, including spring-data-couchbase and the reactive driver
versionRange: 2.0.0.M7
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-couchbase
- name: Neo4j
id: data-neo4j
description: Neo4j NoSQL graph database, including spring-data-neo4j
versionRange: 1.4.0.RELEASE
links:
- rel: guide
href: https://spring.io/guides/gs/accessing-data-neo4j/
description: Accessing Data with Neo4j
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-neo4j
- name: Gemfire
id: data-gemfire
description: GemFire distributed data store including spring-data-gemfire
versionRange: "[1.1.0.RELEASE,2.0.0.M1)"
links:
- rel: guide
href: https://spring.io/guides/gs/accessing-data-gemfire/
description: Accessing Data with GemFire
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-gemfire
- name: Integration
content:
- name: Spring Integration
id: integration
description: Common spring-integration modules
weight: 100
links:
- rel: guide
href: https://spring.io/guides/gs/integration/
description: Integrating Data
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-integration
- name: RabbitMQ
id: amqp
description: Advanced Message Queuing Protocol via spring-rabbit
weight: 100
keywords:
- messaging
links:
- rel: guide
href: https://spring.io/guides/gs/messaging-rabbitmq/
description: Messaging with RabbitMQ
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-amqp
- name: Kafka
id: kafka
weight: 100
description: Kafka messaging support using Spring Kafka
versionRange: 1.5.0.RC1
groupId: org.springframework.kafka
artifactId: spring-kafka
starter: false
keywords:
- messaging
links:
- rel: reference
href: http://docs.spring.io/spring-boot/docs/{bootVersion}/reference/htmlsingle/#boot-features-kafka
- name: Kafka Streams
id: kafka-streams
weight: 90
description: Support for building stream processing applications with Apache Kafka Streams
versionRange: 2.0.0.RELEASE
groupId: org.apache.kafka
artifactId: kafka-streams
version: 1.0.1
starter: false
links:
- rel: guide
href: https://github.com/spring-cloud/spring-cloud-stream-samples/tree/master/kafka-streams-samples
description: Samples for using Kafka Streams with Spring Cloud stream
- rel: reference
href: https://docs.spring.io/spring-kafka/docs/current/reference/html/_reference.html#kafka-streams
description: Kafka Streams Support in Spring Kafka
- rel: reference
href: https://docs.spring.io/spring-cloud-stream/docs/current/reference/htmlsingle/#_kafka_streams_binding_capabilities_of_spring_cloud_stream
description: Kafka Streams Binding Capabilities of Spring Cloud Strea
参与评论
手机查看
返回顶部