From 11b2048988a3c356dd8200f08b0879fe71eea12f Mon Sep 17 00:00:00 2001 From: Florian Benz Date: Fri, 19 Jun 2020 17:37:07 +0200 Subject: [PATCH] Be more precise on the supported versions and add a FAQ entry --- spring-auto-restdocs-docs/getting-started.adoc | 6 ++++-- spring-auto-restdocs-docs/index.adoc | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/spring-auto-restdocs-docs/getting-started.adoc b/spring-auto-restdocs-docs/getting-started.adoc index 21cd5b53..4e738026 100644 --- a/spring-auto-restdocs-docs/getting-started.adoc +++ b/spring-auto-restdocs-docs/getting-started.adoc @@ -6,14 +6,16 @@ Spring Auto REST Docs has the following minimum requirements: -* Java 8 or Kotlin 1.2 +* Java 8 or Kotlin 1.3 * Spring REST Docs ${spring-restdocs.version} (see http://docs.spring.io/spring-restdocs/docs/${spring-restdocs.version}/reference/html5/[documentation]) * Jackson has to be used for creating and parsing JSON For Java 7 and Spring REST Docs 1.2.x support, please use the 1.0.x version of Spring Auto REST Docs. -For Java 9/10/11 support, use `spring-auto-restdocs-json-doclet-jdk9` as doclet dependency. +For Java 9+ support, use `spring-auto-restdocs-json-doclet-jdk9` as doclet dependency. +Our support is focused on the latest Kotlin version, Java 8 and 11. +In addition, we try to support the latest Java version that is supported by Spring. [[gettingstarted-usage]] === Usage diff --git a/spring-auto-restdocs-docs/index.adoc b/spring-auto-restdocs-docs/index.adoc index dfd87913..75f6d2a8 100644 --- a/spring-auto-restdocs-docs/index.adoc +++ b/spring-auto-restdocs-docs/index.adoc @@ -75,6 +75,8 @@ Can I regenerate the final HTML without running all tests?:: in your setup. You might have to remove `dependsOn test` depending on your setup to run it standalone. Is HATEOAS supported?:: Yes, there is basic support for <> and <> resources. +What should I do if I get a `NoSuchBeanDefinitionException: No bean named 'webHandler' available` exception?:: + This means that the servlet stack instead if the reactive one is active. Make sure that `@EnableWebFlux` is used. include::getting-started.adoc[]