This question already has answers here:
HTTP Status 404 - The requested resource (/ProjectName/) is not available
(3 answers)
Closed 6 years ago.
I have found several replicas of this question, but none helped me.
I was dealing with jsp and hibernet with eclipse and apache server.
The server installation is in port 9090. An downloaded project has imported from D:/.
After clearing the jre path, I Run the project on server and the out put is error
`HTTP Status 404 - /servlet/
type Status report
message /servlet/
description The requested resource is not available.
Apache Tomcat/7.0.32`
The google search gave some remedies and I followed that. The following are the screen shots.
Project:
Server Properties:
Tomcat Overview:
Did I missed anything?
I solved the issue. I had made some mistakes
1. I have failed to include the welcome page in web.xml
2. I had put the project in eclipse workspace and I choose the server location as Use tomcat installation. That was wrong. I should choose workspace meta data as my project is in workspace
Below steps solves 404 problem if server is properly configured.
First:
Check your Context root for this project.
You can edit context root from project-->property->web project settings.
Second:
Restart your server and try to clean and build again. Sometimes that solves 404 problem.
Third:
1) Double click on your server or right click->open
2) Click on open launch configuration
3) Go to classpath tab
4) See in user-entries, commons-daemon.jar is available or not if it not then click on add external jar --> path(which you can find it in TOMCAT_HOME/bin)
5) Click on apply and restart your server
Now access : http://localhost:9090/<project-context-root>
Related
[please help me in running spring framework project. i followed the crunchify tutorial however it failed][1]
[crunchify tutorial][1]
Error in Eclipse Oxygen
the issue occurring because of crunchify-servlet.xml file. crunchify-servlet.xml having some error you need to solve this issue before running the project. and erro 404 occur because requested page is not found or bad url. check your web.xml file.
I am currently developing report tools using birt v4.6.0. But I failed when I try to add hyperlink to one of the .rptdesign file.
Everything worked fine when I deployed my web project on tomcat server. However, when I try to click the hyperlink function of the master report, the server threw exception that the linked rptdeenter image description heresign file cannot be found. And I found the below strange directory in my eclipse console:
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Cannot find C:/Users/ADMINI~1/AppData/Local/Temp/SummaryReportDetails.rptdesign
It seems that it cannot find my .rptdesign properly and I have no idea why it is pointed to the temp folder instead of my workspace....
About setting in hyperlink, the field of master report was linked to the detail report with required parameters. And all of my rptdesign file are placed in report resource folder in my workspace.
I used eclipse neon IDE for birt development to develop the web project, tomcat v7.0 as the server and firefox as my browser. Dont know if it can help or not.....thanks a lot
I have searched many related resources for weeks but still fail to solve this problems. Please kindly help...
Try URI option instead. Master and the secondary(after drill upon clicking on hyperlink) rptDesign files must be in same location/folder. This worked for me.
I am trying to add Tomcat server in to STS but I do am not able to do it. Some times the server name doesn't appear when I try to add Tomcat by selecting it from the list, I can't type in the server name myself as well and If that step works properly (I mean when the serve name appears automatically which it should when server is selected form the list); the Finished button is grayed out in the resource page which is the last step in adding the Tomcat server to STS.
Close Eclipse
In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings delete the following two files:
org.eclipse.wst.server.core.prefs
org.eclipse.jst.server.tomcat.core.prefs
Restart Eclipse
this is actually a bug.
got this from this question actually Eclipse add Tomcat 7 blank server name
I downloaded the zip file of dotCMS two days ago from http://dotcms.com/download/. I followed exactly step by step the instructions of dotCMS documentation and I managed to connect correctly the dotCMS with mySQL (http://dotcms.com/docs/latest/DatabaseConfiguration).
The problem is that when I am running the Apache tomcat (by executing the startup.bat file), a blank page appears on localhost:8080/ and sometimes a page appears containing the number 500(of course in the ROOT folder in webapps I have the dotCMS files). Also in catalina.log I see the following error:
ERROR org.apache.jsp.portal._500_jsp - cms500Page
Any idea about how to fix this?
Most likely your database is not connecting or is misconfigured. Make sure that you point dotCMS to an existing, though empty, db. Also insure that your username/passwords work using the exact same ip/hostname as your connection string.
You will find more information about your db error in the log files, either the tomcat/logs/catalina.out or the tomcat/webapps/ROOT/dotsecure/log/dotcms.log
See this page for more information on how to install dotCMS
http://dotcms.com/docs/latest/installation
I had the same issue few weeks back and managed to resolve it.
The issue might be because you didn't use terminal command to extract the package as mentioned here.
Try using :
tar -zxvf dotcms_X.X.tar.gz
This application is live. I previously used this project for php, now I am experimenting with Java and I cannot get the project to upload. Below is the error message I get:
com.google.appengine.tools.admin.HttpIoException: Error posting to
URL:
https://appengine.google.com/api/appversion/create?app_id=laraveltest2014&version=1&
404 Not Found This application does not exist
(app_id=u'laraveltest2014').
I tried adding the parameter below and it had no effect.
--no_cookies
If you logged in with different google account previously, try deleting these two files from home directory:
.appcfg_oauth2_tokens_java
.appcfg_cookies