Configuring and Code our spring mvc project in just 5 steps | Amazing steps in Hindi

preview_player
Показать описание
In this video, we are going to learn how to create spring MVC project and configure the spring MVC project in just 5 steps.

2.Create Spring Configuration File

3.Configure View Resolver

4.Create Controller

5.Create a View to show(page)

Important Videos:

Important Playlist:

Important Links:

Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Рекомендации по теме
Комментарии
Автор

Solution to Error 404:

Error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Right click on the project > Build Path > Configure Build path > Deployment Assembly > Add(right hand side) > Folder > Add your views folder > Apply and Close

darpanbhandari
Автор

After Watching this I thank spring team for creating spring-boot

adhyanneekhra
Автор

Thank you so much.. Your video actually helped me alot. I bought a course from udemy for spring mvc and the tutor was creating the mvc project, i was following his steps but was not able to run the application. I told one of my friends and she suggested to watch your videos and really it did help. Thank you so much .. Keep on creating such videos.

DurgeshChaubey-ok
Автор

Solution to Error 404:

Error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Right click on the project > Build Path > Configure Build path > Deployment Assembly > Add(right hand side) > Folder > Add your views folder > Apply and Close
any idea how to do same thing in intellij idea

rambabuchaurasiya
Автор

Solution to ClassNotFoundException or Error instantiating DispatcherServlet class:
1. Make sure you are using Tomcat 9 with Spring mvc 5 or lesser... The problem is that Spring mvc 5 is still (2022, october) based on java ee package( javax.*) while Tomcat 10 is been updated to Jakarta EE ( ie. all of its packages have been updated to Jakarta EE starting with jakarta.*) So what actually happen is when we try to instantiate the Dispatcher Servlet class using Spring mvc 5...It tries to instantiate the class using the old java ee based package i.e javax.* and since tomcat 10 does not have javax.*, it can't find the required pkg to initialize Dispatcher Servlet, hence throws the error.
2. If u r using tomcat 9 or lesser with spring mvc 5 and still getting the error, then the problem is runtime configuration... Try adding all maven dependencies in the Deployment Assembly.. Here's how you can do that : Go to Project properties -> Deployment Assembly -> click on Add -> Java Build Path Entries and select all of the required dependencies. That's it, you are good to go.😊

shqnz
Автор

Sir bahut hi badhiya video hai. Ek doubt that dispatcher servlet me bhi aapne mapping krwayi thi, uska kya use hua ?

rahul-java-dev
Автор

once running on server, my index page is visible but if I'm trying to view different pages by using /home, /index or any thing I'm getting

Error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

himanshurai
Автор

Thank you very much Durgesh sir for your extraordinary help in teaching us spring mvc..
May god fullfil all your wishes!!!
Thank you

thestudent
Автор

Who's facing issue with /home please add ..
"/WEB-INF/views/" this in your spring-servlet.xml file at prefix value it will work for me

shivkashiyan
Автор

Amazing explanation. Do continue making videos like this and little more practical along with your amazing theory🙌🏻

chandantalreja
Автор

really i'm very impressed to your teaching style and content. i hope you will ans my Ques.

amitkumar
Автор

Sir servlet jsp ke login module me css page eclipse me tag likh diya but work n kerraha h

morning
Автор

Hi Sir, I am getting "index" page content only and not "about" page content

snehasomnathe
Автор

Thanks Darpan, I was getting the same error and I googled for more than 2 hour but didn't get solution. Your solution worked quickly.

Автор

why these error is shown in spring "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists and solution"

sagarwani
Автор

by watching your videos all my doubts got clear...Thanks Durgesh

hiteshsuryawanshi
Автор

Why we are using /springmvc in our web request(URL) ?

learnwithme
Автор

Sir in spring-servlet.xml file context:component-scan is not showing in my system only component-scan is showing please help if u have idea

KAVYARAJENDRA
Автор

facing issue : 404 - JSP file [/WEB-INF/views/success.jsp] not found

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

shubhamsonare
Автор

Mujko puro 2 din lg gye krne m video dehkne m lg rha tha easly ho jayega but jb krne betha tho error p error ane lge kbhi server issue kbhi spring context issue.. chote chote bhut issue but at end finally 😅 kr hi diya successfully code run😂😂
Thank you sir

vikash