Web开发

首页 » 常识 » 常识 » springboot264集成spr
TUhjnbcbe - 2022/12/12 21:13:00
长沙白癜风医院 http://baijiahao.baidu.com/s?id=1676591812617012761&wfr=spider&for=pc

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.DefaultLifecycleProcessorLifecycleGroup.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