Home > Back-end >  The idea of maven dependence on import, tomcat can't read
The idea of maven dependence on import, tomcat can't read

Time:09-15

The novice to learn for springmvc today, according to video to knock the code, the result is 404, well check is maven dependence on imported packages have not built into the web - the info/lib, below in the project structure - & gt; Artifacts got down inside see there seems to be a full jars in the lib, as shown in figure 1... Pack to run again, still won't do!!!!!!
It opens at the target/... Found inside/web - info/lib, had only entered the servlet API package, other spring depend on all have no, what's going on...
How to do...

CodePudding user response:

Post your pom file

CodePudding user response:

According to the official website of the tutorial document type code,

CodePudding user response:

Begin with the spring

CodePudding user response:

This idea is version is not the same as or that the lib built yourself

CodePudding user response:

Can give the target directory is deleted, and then restart the project

CodePudding user response:

Clean up the maven, replacing the central warehouse address

CodePudding user response:

refer to 7th floor faselong response:
clean up maven, replacing the central warehouse address

Problem has been solved, is IDEA2020.1 version

CodePudding user response:

The
reference 3 floor weixin_44636027 response:
begin with spring

Spring all learn in good condition for a long time, and with this problem not a dime...

CodePudding user response:

Has been solved, is IDEA2020.1 version problem,
  • Related