Web开发

首页 » 常识 » 预防 » springboot264集成spr
TUhjnbcbe - 2023/8/14 19:54:00
白癜风治疗的医院 https://baike.baidu.com/item/%E5%8C%97%E4%BA%AC%E4%B8%AD%E7%A7%91%E7%99%BD%E7%99%9C%E9%A3%8E%E5%8C%BB%E9%99%A2/9728824?fr=aladdin

springboot2.6.4集成springfoxswagger3.0时出现FailedtostartbeandocumentationPluginsBootstrapper;

nestedexceptionisjava.lang.NullPointerExceptionthis.conditon为空

ERROR---[main]o.s.boot.SpringApplication:Applicationrunfailed

org.springframework.context.ApplicationContextException:FailedtostartbeandocumentationPluginsBootstrapper;nestedexceptionisjava.lang.NullPointerException

  atorg.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:)~[spring-context-5.3.16.jar:5.3.16]

  atorg.springframework.context.support.DefaultLifecycleProcessor.access$(DefaultLifecycleProcessor.java:54)~[spring-context-5.3.16.jar:5.3.16]

  atorg.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:)~[spring-context-5.3.16.jar:5.3.16]

  atjava.lang.Iterable.forEach(Iterable.java:75)~[na:1.8.0_]

  atorg.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:)~[spring-context-5.3.16.jar:5.3.16]

  atorg.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:)~[spring-context-5.3.16.jar:5.3.16]

  atorg.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:)~[spring-context-5.3.16.jar:5.3.16]

  atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:)~[spring-context-5.3.16.jar:5.3.16]

  atorg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:)~[spring-boot-2.6.4.jar:2.6.4]

  atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:)[spring-boot-2.6.4.jar:2.6.4]

  atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:)[spring-boot-2.6.4.jar:2.6.4]

  atorg.springframework.boot.SpringApplication.run(SpringApplication.java:)[spring-boot-2.6.4.jar:2.6.4]

  atorg.springframework.boot.SpringApplication.run(SpringApplication.java:2)[spring-boot-2.6.4.jar:2.6.4]

  atorg.springframework.boot.SpringApplication.run(SpringApplication.java:)[spring-boot-2.6.4.jar:2.6.4]

  at

1
查看完整版本: springboot264集成spr