Leave a Reply

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

Notify of
avatar

Rashmiranjan Beura
Guest
Rashmiranjan Beura
10 days 5 hours ago

This video is not very helpful, you give a new developer these videos and make him run the project. It will not work

Vijay Eathakotla
Guest
Vijay Eathakotla
19 days 15 hours ago

Im getting below error… i have changed the version to 1.2.5.RELEASE , its working fine …but for 1.4.2.RELEASE …its giving below errorCaused by: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31) at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276) at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:248) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$LocalValidatorFactory.run(ConfigurationPropertiesBindingPostProcessor.java:453) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.getValidator(ConfigurationPropertiesBindingPostProcessor.java:387) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.determineValidator(ConfigurationPropertiesBindingPostProcessor.java:370) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:332) at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:303) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1575) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) … 52 more

Prakash Ranjan
Guest
Prakash Ranjan
1 month 2 days ago
. __ _ __ _ _ /\ / __' __ _ (_) __ __ _ ( ( )___ | '_ | '_| | '_ / _` | \/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |___, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.4.2.RELEASE)2017-09-17 14:18:15.294 INFO 9584 — [ main] i.j.springbootstarter.CourseApiApp : Starting CourseApiApp on W105KKT6C2 with PID 9584 (C:UsersPrakash_RanjanDownloadsExtraStudyGithubSpringtrunkSpringBootSTSWorkSpacecourse-apitargetclasses started by Prakash_Ranjan in C:UsersPrakash_RanjanDownloadsExtraStudyGithubSpringtrunkSpringBootSTSWorkSpacecourse-api)2017-09-17 14:18:15.299 INFO 9584 — [ main] i.j.springbootstarter.CourseApiApp : No active profile set, falling back to default profiles: default2017-09-17 14:18:15.382 INFO 9584 —… Read more »
Gagandeep Singh
Guest
Gagandeep Singh
1 month 10 days ago

If you are getting the error “Exception in thread “main” java.lang.NoClassDefFoundError: ch/qos/logback/classic/turbo/TurboFilter ” please add the logback-classic dependency in pom file<!– Exception in thread "main" java.lang.NoClassDefFoundError: ch/qos/logback/classic/turbo/TurboFilter –><!– mvnrepository.com/artifact/ch.qos.logback/logback-classic –><dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.3</version> <scope>test</scope></dependency>

Umesha K
Guest
Umesha K
1 month 29 days 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
2 months 7 days ago

SpringApplication is not static class.

Amit Kumar
Guest
Amit Kumar
2 months 28 days ago

Error: Could not find or load main class

Marinakulichok
Guest
Marinakulichok
3 months 2 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
3 months 11 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
3 months 17 days ago

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

1 2 3 4
wpDiscuz