Home > Back-end >  A high aggregation project, didn't write a project you just created, visit the home page in 404
A high aggregation project, didn't write a project you just created, visit the home page in 404

Time:09-16

CodePudding user response:

CodePudding user response:

CodePudding user response:



Change the port number to 80, inside the controller manual write access index method, which is also not line, but the error below my way is right

CodePudding user response:

Head ache, write a helloworld JSP directly, it is impossible to 404

CodePudding user response:

Solved the JSP path error, because webapp didn't set to root folder, so can't find the path, but add a configuration class can show myself, but am I later do springboot integration of JSP multilayer project each time to write this configuration?
This configuration class is a bit like almost can't get to the absolute path

CodePudding user response:

This project in the project structure for any special requirements?

CodePudding user response:

reference 5 floor He Ting classmates reply:
solved the JSP path error, because webapp didn't set to root folder, so can't find the path, but add a configuration class can show myself, but am I later do springboot integration of JSP multilayer project each time to write this configuration?
This configuration class is a bit like almost can't get to the absolute path
I see

CodePudding user response:

refer to 7th floor hai-hua li reply:
Quote: refer to fifth floor He Ting classmates reply:
solved the JSP path error, because webapp didn't set to root folder, so can't find the path, but add a configuration class can show myself, but am I later do springboot integration of JSP multilayer project each time to write this configuration?
The configuration class is a bit like almost didn't get to the absolute path
I see

? , if I don't write this configuration, the page is not returned, 404 directly, no idea had done this kind of high polymer project, eclipse is no problem, can configure where he has gone wrong
  • Related