springboot啟動報錯,如果出現這種錯誤,刪除yaml檔案就可以了
2022-12-01 11:02:29.538 722 [main] ErRor 0.5. boot . SpringApplication - Application startup failed
java,Lang . NoClassDefFoundError Crealte breakpoint : org/springfranework/beans/fac tory/conf ig/YantProcessorsstr ic tHapAppenderConstructor
at org. springframework . boot . env . YamLProper tysourceLoader Srocessor . createy amLCYanpropertysourceLoader .1ava:86)
at org . springframework beans . factory .conf1g. YamLProcessor .process(YanLrocessor ,Jlava;164)
at org . springfranework boot. env . YamLPropertySourceLoader SProcessor .process(YamLPropertysourceLoader ,Java:101)
at org . springframework . boot . env . YamLPropertySourceLoader . LoadCYanLPropertySourceLoader : java :58)
at org . springframework . boot . env . Proper tySource sL Dader . load (Propertysourcesl oader : java:127)
at org. springframework,boot . context . config . ConfigF ileApplicationListenerSLoader . doLoadIntaGroup(configFileApplicationL istener . iava:490)
at org. springframework . boot. context . config . ConfigF ileApplicationListenersLoader . LoadIntoGroup(ConfiqFileApplicationListener : 1ave:475)
at org . springfranework,boot. context . conf1g . ConfigFileAppLicationListenerSLoader . Load(Conf1gFileAppLicationListener,jav8;405)
at org. springfranework . boot. context . conf1g . Conf1gF 1LeAppllcationListenerSLoader . Load(conf1gFileAppLicat1onL istener。1ava :386)
at org. springframework . boot . context . conf ig . ConfigFileAppLicat ionList ener . addPropertySourcesConfigFlLeppLicationListener java:225)
at org. springframework . boot . context . config . ConfigFileAppLicationListener . postProcessEnvironment (ConfigFileApplicationL istener . java:195)
at org. springframework . boot. context . conf ig . ConfigF ileApplicationL istener . onApplicat ionEnvironmentPreparedEvent(Conf igFileApplicationListener. java:182)
at org. springframework . boot . context. config. ConfigF ileApplicationListener . onApplicationEvent(ConfiqF ilepplicationlistener . iava:16B)
at org . springframework context event . simpLeAppLicationEventMutticaster . doInvokeListener(SinpleApplicationEventHunticaster,java:172)
at org . springframework context event . s1impLeppLlcationEventMutticaster . InvokeListener(SinpLeAppLicationEventHuLticaster,java;165)
st org. springfranework . context . event . SimpLeAppLicationEventHuticaster . multicastEvent(SimpLeppLicationEventHotticaster : java:139)
at org . springframework . context . event. SinpLeAppLicat ionEventMuLticaster . multicastEvent(SinpLeApplicationEventHulticaster : java:122)
at org . spr ingframework . boot . context . event . EventPublishingRunL ist ener . env ironnentPrepared(EventPublishingRunL istener : java:74)
at org . springframework . boot . SpringAppticationRunListeners. environmentPrepared(SoringAoplicationRunL isteners : java:54)
at org. springframework . Doot . springApplication . pr ep an eEnvironment(springAplication.java:525)
at org. springframework . boot. SpringApplication. run(SpringApplication, 1ava:290)
at org . springframework boot. SpringAppLication. run(SpringAppLication. Java:1118)
at org . spr ingframework . boot . Spr ingAppLicat ion . run(SpringAppLication. java:1107)
at trade. gatenay . szse . GatewaySzseApplication . main(GatewaySzseApplication. java:17)
Caused by: java. Lang . CLassNotFoundException Create beakpoint : org ,springframework . beans . factory . config. YamlProcessorsstrictMapAppenderConstructor
at java .net. URLCLassLoader . findCLass(URLCLassLoader . java:382)
at java. Lang . CLassLoader . LoadCLass(CLassLoader . jaV8:426)
at sun. n1sc . Launcher$AppCLassLoader . LoadCLass(Launcher,java: 349)
at java. Lang . CLassLoader .LoadCLass (CLassLoader。java:357)
... 24 common franes omitted
Process finished with exit code 1
p Git Run 理TODO e Problems
2 Terminal C Profiler C Services人 Build 司 Soring Endpcints