close

[Fixed] org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’

Today We are Going To Solve org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’ in Java. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’ Error?

  1. How to Fix org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper' Error?

    To Fix org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper' Error just add pathmatcher in application. properties. Here to solve this issue just add pathmatcher in application. properties just like below. It will help you. spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

  2. org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'

    To Fix org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper' Error just Add pathmatcher in application.yml. You can solve this issue by just adding pathmatcher in application.yml. You can use the below one. spring: mvc: pathmatch: matching-strategy: ant_path_matcher

Solution 1 : add pathmatcher in application. properties

Here to solve this issue just add pathmatcher in application. properties just like below. It will help you.

spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

Solution 2 : Add pathmatcher in application.yml

You can solve this issue by just adding pathmatcher in application.yml. You can use the below one.

spring:
    mvc:
      pathmatch:
            matching-strategy: ant_path_matcher

Solution 3 : Downgrade spring boot version

Just Switchback spring boot version from 2.6.0 to 2.5.2. It will help you

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read These Solutions

Leave a Comment