Leave a Reply

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

Notify of
avatar

Navya Sri
Guest
Navya Sri
17 days 22 hours ago

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

Ayan Dutta
Guest
Ayan Dutta
20 days 16 hours 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
8 days 21 hours 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
24 days 12 hours 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.

Sushruth Lokam
Guest
Sushruth Lokam
26 days 15 minutes ago

Hi Koushik, Am getting below errorAPPLICATION FAILED TO START*************************Description:The Bean Validation API is on the classpath but no implementation could be foundAction:Add an implementation, such as Hibernate Validator, to the classpathwhat to do?

JeanScuba
Guest
JeanScuba
1 month 1 day ago

<version>1.5.2.RELEASE</version> clears all the server start errors.

Alexandre Formagio
Guest
Alexandre Formagio
3 days 21 hours ago

I had this problem: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See www.slf4j.org/codes.html#StaticLoggerBinder for further details.Exception in thread "main" java.lang.NoClassDefFoundError: ch/qos/logback/classic/joran/JoranConfigurator at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at java.lang.Class.getConstructor0(Class.java:3075) at java.lang.Class.getConstructor(Class.java:1825) at org.springframework.boot.logging.LoggingSystem.get(LoggingSystem.java:126) at org.springframework.boot.logging.LoggingSystem.get(LoggingSystem.java:117) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationStartedEvent(LoggingApplicationListener.java:225) at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:205) 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.started(EventPublishingRunListener.java:63) at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48) at org.springframework.boot.SpringApplication.run(SpringApplication.java:304) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) at io.javabrains.springbootstarter.CourseApiApp.main(CourseApiApp.java:10)Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.joran.JoranConfigurator at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) … 17 moreYour advice solved my problem. Thanks

Shyam Suthar
Guest
Shyam Suthar
17 days 17 hours ago

Thanks i had same problem updating to 1.5.2 resolved server start error

Mohammad Azam
Guest
Mohammad Azam
1 month 22 days ago

The Tomcat server never starts!

Anju Singh
Guest
Anju Singh
2 months 19 days ago

Please upload some videos on websocket programming using Spring Boot Without STOMP and SockJS and Client should be Java not Javascript.

bbvkishore
Guest
bbvkishore
2 months 28 days ago

To me, it did not work until I add the spring boot maven plugin in pom.xml <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>

gandhar vaidya
Guest
gandhar vaidya
3 months 8 days ago
Get this in the console and the application won't start as web app2017-03-17 01:25:54.107 INFO 3272 — [ main] io.springbootstarter.SpringCourseApi : Starting SpringCourseApi on gandy with PID 3272 (C:Springworkspacecourse-apitargetclasses started by gandhar in C:Springworkspacecourse-api)2017-03-17 01:25:54.110 INFO 3272 — [ main] io.springbootstarter.SpringCourseApi : No active profile set, falling back to default profiles: default2017-03-17 01:25:54.233 INFO 3272 — [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@be64738: startup date [Fri Mar 17 01:25:54 MDT 2017]; root of context hierarchy2017-03-17 01:25:55.883 INFO 3272 — [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup2017-03-17 01:25:55.906 INFO 3272 — [ main] io.springbootstarter.SpringCourseApi : Started SpringCourseApi in… Read more »
NimDod
Guest
NimDod
26 days 12 hours ago

I'm getting the same result 😐

Tushar Bisht
Guest
Tushar Bisht
1 month 22 days ago

anyone knows what's wrong?

Ernest Chechelski
Guest
Ernest Chechelski
3 months 14 days ago

I had some problems with maven. I solved this using that stackoverflow post: stackoverflow.com/questions/41052805/spring-boot-with-spring-boot-starter-web-fails-to-compile-in-maven 🙂

wpDiscuz