Home > Back-end >  Tomcat deployed WEB project has been 404
Tomcat deployed WEB project has been 404

Time:09-25

Tomcat deployed web project, Tomcat run successfully, but unable to deploy, what reason be

CodePudding user response:

Possible path is the right address,,.

CodePudding user response:

reference 1st floor qq_36205796 response:
possible path is the right address,,

This path is right, but is 404, mentally

CodePudding user response:

Can direct access to other resources, can try other static resources access, if all the documents can't visit to check whether the project is configured, if other can, may wish to check whether the index. The JSP file directory is can't directly access,

CodePudding user response:

First take a look at the tomcat webapp or did work related project file

CodePudding user response:

reference YZDHY reply: 3/f
can direct access to other resources, can try other static resources access, if all the documents can't visit to check whether the project is configured, if other can, may wish to check whether the index. The JSP file directory is can't directly access,

Indeed, access to other static resources is 404

CodePudding user response:

reference 4 floor of the sea _sea response:
looked tomcat webapp or have work related project file
some webapp with this project

CodePudding user response:

You have been deployed another existing project, the same name, can't delete clean

CodePudding user response:

refer to the eighth floor qq_21648359 response:
if you have been deployed to another existing project, the same name, can't delete clean

Yes, I had deleted the redeployment

CodePudding user response:

You this project should be a copy of
1. Go to your work space will you get on a source file deleted
2. Right-click on the copied project, you select the properties of the bottom, select myeclipse (eclipse), open it, find the web TAB, will be the inside of the web Context - the root of the name change, you can let's have a try

CodePudding user response:

The
references to the tenth floor qq_21648359 response:
you this project should be copied
1. Go to your work space will you get on a source file deleted
2. Right-click on the copied project, you select the properties of the bottom, select myeclipse (eclipse), open it, find the web TAB, will be the inside of the web Context - the root of the name change, can let you try
have seen this is right

CodePudding user response:

Two reasons:
1: the project is not successful deployment, the solution: direct access localhost: tomcat port, look at the list of items don't exist in the project.
Two: didn't write the entry documents, such as the index. The HTML

CodePudding user response:

The Tomcat server. The project path yao in the XML configuration

CodePudding user response:




I also had many such errors, search slowly,
Must do a set of bugs, behind can be handy to month more, will be more and more confident,

CodePudding user response:

Find the reason, web path inside XML configuration has a problem,,,

CodePudding user response:

This is just a simple web project, if it is directly in the index. The JSP point run on the server and see what path is above, estimate is the reason why you path; If it is not a simple web project check your configuration file

CodePudding user response:

First check to see if the tomcat startup to normal first, and then open the tomcat native page success, if there is no problem is there is something wrong with the configuration or path,

CodePudding user response:

You who know the interceptor in XML

CodePudding user response:

Tomcat three ways, detailed steps are straightforward to understand, https://blog.csdn.net/liangjiabao5555/article/details/103875387

CodePudding user response:

How to change?

CodePudding user response:

Path problem, you carefully look at it,
  • Related