Spring MVC issue
Actually I am Trying to add The XML of Spring MVC but failed to Add It Bcz I am Adding this
And My Eclipse IDE Giving Me Error that Can Anyone Help
37 Replies
⌛
This post has been reserved for your question.
Hey @Danix! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Why XML?
probably because of not using Spring Boot
Where exactly does the error appear?
You don't need Spring Boot to use annotations.
yes but it's still common to have a beans.xml in Spring projects without Spring Boot AFAIK
In legacy projects that no one in a company wants to touch.
No Spring Boot, XML, Eclipse, all that smells like some old tutorial.
So What U think i have to use
I didn't doubt that
So According To U i have to Use Spring Boot and XML Based Configurations..
no
you can use Spring Boot and not use XML configs for most things
in fact, that's what I do in my projects
ohh
But I still don't know where you are facing the above error (assuming you still want to use XML configuration)
Actually I was Going to learn Spring Boot But My Spring MVC Basics were not Clear Thats Why i am learning it rn..
Out of curiosity: Which site are you using for learning here?
what do u mean i didnot get it
?
?
..
I just want to know which site people use that teach Spring in that way/without using Spring Boot
I am learning Spring MVC from Youtube videos
ah I see
I am getting Class Not Found Exception In my Spring MVC Project I dont Know why its Coming can u help
@dan1st | Daniel
Can you show the stack trace?
``````
Which version of Tomcat are you using?
10.1
Can you show your pom.xml?
https://stackoverflow.com/q/77539033/10871900 that's your issue btw
Stack Overflow
How to avoid compatibility issues between Java EE and Jakarta EE?
After Oracle donated Java EE to the Eclipse Foundation, it was renamed to Jakarta EE.
With that, the javax namespace was changed to jakarta.
What does one need to take care about in order to avoid
use Tomcat 9
So now i have to download tomcat 9
?
Yes
well you also need to run it on Tomcat 9
Spring 6 comes with support for Jakarta, but if you want to stay with Java EE you need to use a compatible application server.. Which is Tomcat 9 in that case.
what if i want to use spring 6 then what to do
oh affiliation Disclaimer: I wrote that
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.