Hello, world With Spring Framework 4.1, Spring Boot 1.2, Spring MVC using STS or any IDE - Part II

preview_player
Показать описание
Spring hello world example - shows how to create a new Java Spring 4 MVC web application using Maven and Spring Tool Suite or any IDE.

Рекомендации по теме
Комментарии
Автор

Amazing content, much thanks!!!! No need for four universities years to catch this

lennoxmagak
Автор

Thanks. Your video is great for beginner like me.

anhnguyenduy
Автор

when it tried to hit the url i got an error

"Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Thu Apr 02 16:04:31 EDT 2015
There was an unexpected error (type=Not Found, status=404).
No message available"
suggestions?

JJ-zqhb
Автор

hi Jawann, there is no reply button below, so I'm replying to your question here.

A couple of people also had this, and it was found that their controller classes were not in the same package or sub packages of the package in which the application class having the main method resided. So, the @ComponentScan there couldn't find the controllers.

So, could you check if you have the same issue? I am unable to guess any other problem.

naturalprogrammer-com
Автор

This is good one, Can you please give some examples with JSP page using some UI framework ie BootStrap with Spring Boot.

kidslearningscience
Автор

this did not work for me! u need to use @ResponseBody for your method.

mayuriroy
visit shbcf.ru