Web开发

注册

 

发新话题 回复该主题

springboot264集成spr [复制链接]

1#

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

分享 转发
TOP
发新话题 回复该主题