springboot启动报错,用ecplise起不来,而用idea就可以

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
[2018-11-15 15:08:13:500] restartedMain- ERROR org.springframework.boot.SpringApplicationreportFailure:771 Application startup failed
java.lang.NoSuchMethodError: org.springframework.core.io.DefaultResourceLoader.getProtocolResolvers()Ljava/util/Collection;
at org.springframework.boot.devtools.restart.ClassLoaderFilesResourcePatternResolver$ResourcePatternResolverFactory.copyProtocolResolvers(ClassLoaderFilesResourcePatternResolver.java:228)
at org.springframework.boot.devtools.restart.ClassLoaderFilesResourcePatternResolver$ResourcePatternResolverFactory.copyProtocolResolvers(ClassLoaderFilesResourcePatternResolver.java:221)
at org.springframework.boot.devtools.restart.ClassLoaderFilesResourcePatternResolver$ResourcePatternResolverFactory.getResourcePatternResolver(ClassLoaderFilesResourcePatternResolver.java:212)
at org.springframework.boot.devtools.restart.ClassLoaderFilesResourcePatternResolver$WebResourcePatternResolverFactory.getResourcePatternResolver(ClassLoaderFilesResourcePatternResolver.java:249)
at org.springframework.boot.devtools.restart.ClassLoaderFilesResourcePatternResolver.(ClassLoaderFilesResourcePatternResolver.java:76)
at org.springframework.boot.devtools.restart.Restarter.prepare(Restarter.java:474)
at org.springframework.boot.devtools.restart.Restarter.prepare(Restarter.java:462)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationPreparedEvent(RestartApplicationListener.java:75)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:48)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
at org.springframework.boot.context.event.EventPublishingRunListener.contextLoaded(EventPublishingRunListener.java:91)
at org.springframework.boot.SpringApplicationRunListeners.contextLoaded(SpringApplicationRunListeners.java:66)
at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:356)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:301)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:187)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:102)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:68)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:325)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:296)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at com.ticket.check.CheckServerApplication.main(CheckServerApplication.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问