Home > Back-end >  For springmvc. XML file exists, but the path is correct, ask for help!!!!!!
For springmvc. XML file exists, but the path is correct, ask for help!!!!!!

Time:10-28

Each master Java web start an error during project integration

Path is correct? Help!!!!! Thank you very much!!!!!

CodePudding user response:

this is the picture of the error

CodePudding user response:

See after compiling the project directory, spring this is underneath the classpath

CodePudding user response:

refer to the original poster weixin_43371771 response:
each master Java web start an error in the process of project integration
Path is correct? Help!!!!! Thank you very much!!!!!


The default should be under the resource, try the config/spring/for springmvc XML

CodePudding user response:

The
reference 3 floor qq_39936465 response:
Quote: refer to the original poster weixin_43371771 response:

Each master Java web start an error during project integration
Path is correct? Help!!!!! Thank you very much!!!!!


The default should be under the resource, try the config/spring/for springmvc XML

Thank you, still won't do, I tried, every path in the root directory is not, good strange, has been an error, there is no this file

CodePudding user response:

reference 4 floor weixin_43371771 response:
thank you, still won't do, I tried, every path in the root directory is not, good strange, has been an error, there is no this file


There is a way to try and put all copied into this folder

Webroot \ web - inf \ classes \ config \ spring \, under the folder need to build

CodePudding user response:

The classpath * :/spring/spring - the MVC. Try this XML

CodePudding user response:

refer to 6th floor weixin_46323376 response:
classpath * : XML/spring/spring - the MVC. Try this

Still won't do 404 quote the wrong

CodePudding user response:

Error: No mapping found for HTTP request with a URI//chapter13 selectUser. Action in DispatcherServlet with the name 'for springmvc'

CodePudding user response:

refer to the eighth floor weixin_43371771 response:
error: No mapping found for HTTP request with a URI//chapter13 selectUser. Action in DispatcherServlet with the name 'for springmvc

If yes, try this,
A, the eclipse toolbar, project - & gt; The clean... - & gt; Choose a second clean projects selected below, select the project, and then click ok to recompile
Two, delete the project and then add back in tomcat,
Three, if you still can't restart the eclipse, and then perform a, 2

CodePudding user response:

Resolved!!!!! Is my Java environment variable configuration problem!!!!!!

CodePudding user response:

WX Spring Chinese community details about the related content

CodePudding user response:

Should be to you in the right path, you click on the configuration file you can jump directly to your file directory?
  • Related