Today encountered a problem: Tomcat normal boot, access to all pages are reported 404 abnormal
404 exceptions are common, most of which are path errors, web.xml file mapping path writes, server settings, servlet jar packages that are not in or are not published with the project, and so on.
If it is a path error, careful examination can solve the problem.
The s
First, the development of JSP Dynamic Web pages, when we request a resource on the server through the browser, you may often encounter the bug reported 404 errors.
Problem analysis: The cause of this bug may be in a JSP Web page, or it may be inside a servlet. If the resource being accessed does not exist, a 404 error is generated.
(1) 404 errors may be a problem
404 exceptions are common, most of which are path errors, web.xml file mapping path writes, server settings, servlet jar packages that are not in or are not published with the project, and so on.
If it is a path error, careful examination can solve the problem.
The server is not set up to also report this error, which is generally a novice at the beginning of the problem encountered, is to the eclipse in the Tom
When you create a new project in Eclipse, configure Tomcat, and then test if Tomcat is configured successfully, report a 404 error exception.Workaround:1, remove the project files, re-establish a new project,2, create a new project.3,new a Server, configure Tomcat.4, double-clickPopup Configuration pageSelect the secon
Custom 404 Pages
Recently, in dealing with security vulnerabilities, found that the root, manager, example and so on under Tomcat have no security mechanism, so it was deleted, but access to the Localhost:8080/example test will be a sudden leakage of Tomcat basic information, Although the content is not many but still
Tags: CLI eclipse src file host location error log defaultAfter you have configured Tomcat in Eclipse, publish a Web project to Tomcat, and when you use http://localhost:8080 to access the Tomcat home page, there is a 404 error, but you can access the Web pages normally. However, the
Solution: Open the server view of Eclipse, double-click the tomcat you configured, open the edit window, view the server locations, and see if the first option is selected (the first option by default), which is the Use workspace metadata ( Does not modify Tomcat instation),You should choose the second option, use Tomcat installation. Then you can start the servi
implementation and word processing similar, add synonymous processing is also very easy. Chinese and other oriental words need to be divided into words, in order to achieve the purpose of indexing by word, in this regard, is the current Full-text search technology, especially the Chinese full-text search technology difficulties.Then look at the problems with installing Linux:Configuration of SOLR service in Tomcat,
\. Intellijidea2017.1\system\tomcat\unnamed_test-project_3_0_4Two directories under the Conf folder, the folder inside the name and number of configuration files are the same, through the comparison, found in the Conf directory, Server.xml content There are some differences, note this lineautodeploy= "true" deployonstartup= " False "deployignore=" ^ (?! (manager) | (Tomee) $). * ">Because in IntelliJ idea,
There was a time when the project was not deployed to Tomcat, and there were 404 problems with deployment today.
First, the environment
TOMCAT7 jdk1.7 Eclipse-jee-luna-r-win32
Second, the problem description
1. When you finish creating a Web project, create a Tomcat server in Eclilpse, add a Web project to the server, start the server in Eclipse, and the star
Problem Description:After adding Tomcat in Eclipse, after startup, after accessing the Tomcat address, return 404, but starting Tomcat alone can access the page.
Problem Troubleshooting:Since Tomcat is not a problem, it only means that there is a problem with the eclipse co
right-click Run as--and run on Server below is the eclipse built-in browser to open one of my test projectsOK Configuration SucceededBut there's a new problem.question: At this point, if you enter the http://localhost:8080/return page in the Eclipse built-in browser or the external browser address bar will appear 404, but enter the above address is can visitAsk the success of the Oh! even if the configuration succeeds, there should be a
Recently encountered some wonderful problems, and made long time to dispose of. Just record it today for a rainy day.Problem Description:After the completion of the integration of the Spring MVC project, Tomcat was started normally, and Tomcat was found to be successful, but when it visited localhost, it found 404.Problem Analysis:The first thought that the resou
read the other information, found that the configuration has a problem, according to the configuration, he simply forwarded the JSP page to Tomcat processing, but the registration page is not JSP, is an action request, so, did not transfer to Tomcat processing, the error 404. #location ~\.jsp${#proxy_pass http://127.0.0.1:8081;#} location/{ indexindex.htmlindex.
Http://blog.csdn.net/wqjsir/article/details/7169838
Symptoms:
Tomcat can be started normally in eclipse, but http: // localhost: 8080/cannot be accessed in the browser, and Error 404 is reported. Other project pages cannot be accessed.
Close tomcat in eclipse and double-click startup. bat under the tomcat installation
Problem descriptionAfter you deploy the Web project in Eclipse, you find that Tomcat can start, but access the http://localhost:8080 address 404 error. Instead of using Eclipse to start Tomcat, it is OK to start Tomcat directly by using the Bin directory under the Tomcat ins
Symptom:
Tomcat can start normally in eclipse, and access to http://localhost:8080/in the browser is not accessible and is reported as 404 errors. Other project pages are not accessible at the same time.
Close Tomcat inside Eclipse and double-click Startup.bat under the Tomcat installation directory to manually start t
404,50x Such errors are often encountered.If the%catalina_home%\conf\web.xml and the specific application have the settings%catalina_home%\webapps\root\web-inf\web.xmlThe application is in effect.How to set up a friendly user experience, for example in the Windows environment:Add the default file when an exception occurs, the file location is as follows (if you do not set reloadable to True or autodeploy= "true", you will need to restart Tomcat for th
The pit is so deep that I can't breathe.
as the friends said, I removed springboot embedded tomcat, and then rely on SERVLET-API, modify the start class to inherit Springbootservletinitializer, fight into a war into Tomcat
but .....
Visit newspaper 404
this could be a split line . One, the war package released to Tomcat
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.