Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Having exception in thread main java.lang.NoClassDefFoundError

Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/core/metrics/Applicationstartup

at org.spring framework.boot.SpringApplication. <init> (SpringApplication.java: 227) at org.springframework.boot.SpringApplication.<init> (SpringApplication.java: 240) at org.springframework.boot.SpringApplication.run (SpringApplication.java:1301)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290) at com.testDemoproject.covidDemoassignmentsts.CovidDemoAssignmentStsApplication.main(CovidDemoAssignment StsAp

Caused by: java.lang.ClassNotFoundException: org.springframework.core.metrics. ApplicationStartup at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass (BuiltinClassLoader.java:606)

at java.base/jdk.internal.loader.ClassLoaders $AppClassLoader.loadClass (ClassLoaders.java:168)

>Solution :

Try to sync your dependency by pom file.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading