Sync docs from 2.1.x to gh-pages

This commit is contained in:
buildmaster
2020-01-29 15:58:50 +00:00
parent 1f7657e3ed
commit b8e77279d2
4 changed files with 18 additions and 4 deletions

View File

@@ -425,5 +425,15 @@ public class DemoTemplate {
String demoEndpoint(@SpringQueryMap Params params);
}</programlisting>
</section>
<section xml:id="_troubleshooting">
<title>Troubleshooting</title>
<section xml:id="_early_initialization_errors">
<title>Early Initialization Errors</title>
<simpara>Depending on how you are using your Feign clients you may see initialization errors when starting your application.
To work around this problem you can use an <literal>ObjectProvider</literal> when autowiring your client.</simpara>
<programlisting language="java" linenumbering="unnumbered">@Autowired
ObjectProvider&lt;TestFeginClient&gt; testFeginClient;</programlisting>
</section>
</section>
</chapter>
</book>