Leave a Reply

43 Comments on "Spring Boot Quick Start 9 – Starting a Spring Boot application"

Notify of
avatar

Umesha K
Guest
Umesha K
2 days 2 hours ago

Am facing this error 'ERROR 9900 — [ main] o.s.boot.SpringApplication : Application startup failed'
While starting Server can you help me with this

vivek panday
Guest
vivek panday
10 days 3 hours ago

SpringApplication is not static class.

Amit Kumar
Guest
Amit Kumar
1 month 1 day ago

Error: Could not find or load main class

Marinakulichok
Guest
Marinakulichok
1 month 5 days ago

You can use Jetty instead of Tomcat"The Spring Boot starters (spring-boot-starter-web in particular) use Tomcat as an embedded container by default. You need to exclude those dependencies and include the Jetty one instead. Spring Boot provides Tomcat and Jetty dependencies bundled together as separate starters to help make this process as easy as possible."docs.spring.io/spring-boot/docs/current/reference/html/howto-embedded-servlet-containers.html#howto-use-jetty-instead-of-tomcat

Thrinath Sf
Guest
Thrinath Sf
1 month 14 days ago

I tried the same but unable to start. Got below exception:java.lang.IllegalStateException: ApplicationEventMulticaster not initialized – call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext…………………………Caused by: java.lang.NoClassDefFoundError: com/fasterxml/classmate/TypeResolverI tried by changing different versions and added plugin: spring-boot-maven-plugin but NO use.Can anyone help with this?

nikhil nagireddy
Guest
nikhil nagireddy
1 month 19 days ago

getting this:::::::>>Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.

Kwstas Antoniou
Guest
Kwstas Antoniou
1 month 23 days ago

hello i am getting that erro : Description Resource Path Location TypeArchive for required library: 'C:/Users/cliff/.m2/repository/org/springframework/spring-core/4.3.9.RELEASE/spring-core-4.3.9.RELEASE.jar' in project 'DemoApp' cannot be read or is not a valid ZIP file DemoApp Build path Build Path Problem

Navya Sri
Guest
Navya Sri
2 months 15 days ago

java.net.BindException: Address already in use: bindI got this error, pls help me

Ayan Dutta
Guest
Ayan Dutta
2 months 17 days ago

Hi Guys, I think my port 8080 is already in use. Can you tell me how to change the default port of Spring Boot integrated Tomcat server? I am getting the below error while trying to run the application:-"The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured."

Arkadiusz Lipski
Guest
Arkadiusz Lipski
2 months 5 days ago

change the port with adding a file called application.properties to the resources folder. Inside the file just write:server.port = 8081or whatever port you need or want.

Sharat C
Guest
Sharat C
2 months 21 days ago

+javabrains Many of you are getting errors. Here's the fix: Kindly delete your .m2/repository folder, close the project, (if possible IDE) and then open it, run the class file. It shall work properly.

Sony Sebastian
Guest
Sony Sebastian
19 days 2 hours ago

Awesome! worked for me too!

Thrinath Sf
Guest
Thrinath Sf
1 month 14 days ago

You are just awesome bro. Thank you so much…

1 2 3
wpDiscuz