How can I add dependencies to spring mvc without maven?

is currently doing sprin mvc exercises and has created a spring mvc project directly with idea. Then you need to add the dependencies of the servler package when you create a controller.

found on the Internet, basically using maven to add dependencies, now very curious how not to use maven to add dependencies?

the environmental background of the problems and what methods you have tried

I asked. Basically, I advised to use maven, directly, but I couldn"t restrain my curiosity. I wanted to ask.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
@ Override

public ModelAndView handleRequest(
    javax.servlet.http.HttpServletRequest httpServletRequest,
    javax.servlet.http.HttpServletResponse httpServletResponse)
    throws Exception {

what result do you expect? What is the error message actually seen?

Dec.13,2021

for web applications, just put the required jar package in the WEB-INF/lib directory, but maven is really better.


manually add dependencies:

IDEA--> File--> Project Structure--> Modules--> Dependencies
Click the plus sign

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31b60-4ea1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31b60-4ea1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?