Getting Started With Spring Boot
3 CommentsLast Updated on July 1, 2019 by Simanta
Spring Boot is a recent addition to the Spring Framework. It makes starting a Spring based project crazy easy. Before the days of Spring Boot, you as the developer were responsible for creating a project and managing the dependencies. Now you can use the Spring Initializer to download a ready made project with common dependencies cooking into to Maven or Gradle. Spring Boot and Spring Initializer makes your life as a developer easier.
Here is a simple demo of starting a Spring project using Spring Boot.
Share
About jt
You May Also Like
Consul Miniseries: Spring Boot Application and Consul Integration Part 2
By SFG Contributor Consul, Docker, Gradle, IntelliJ, Java, Lombok, Spring, Spring Boot, Spring Cloud, Spring MVC
Consul Miniseries: Spring Boot Application and Consul Integration Part 1
By SFG Contributor Consul, Docker, Gradle, Java, Lombok, Spring, Spring Boot
Margaret S Boisvert
Spring Initializer is integrated with IntelliJ! You don’t even have to leave your IDE to use it.
Osky
On writing a spring controller test using junit5 and spring mvc, to test an unhappy scenario that returns a 400, the test propagates the failures to the controller advice and as such instead of the expected 400 error, the test returns the exception from the custom exception class that handles the failure.
I guess what am asking is how I can get mockMvc bean to use the Controller advice?