小记,随时记录开发中的事
2014-08-31 16:32
218 查看
1,How to clear the command prompt screen?
windows : cls
linux : clear
2,eclipse 中配置的tomcat server起来后,浏览器中mypcName:8080/显示404错误
Click on Window > Show view > Server OR right click on the server in "Servers" view, select "Properties".
In the "General" panel, click on the "Switch Location" button.
The "Location: [workspace metadata]" should replace by something else.
Open the Overview screen for the server by double clicking it(Tomcat v7.0 Server at localhost.server).
In the Server locations tab , select "Use Tomcat location".
Save the configurations and restart the Server.
You may want to follow the steps above before starting the server. Because server location section goes grayed-unreachable.
参考:http://stackoverflow.com/questions/16340711/tomcat-http-status-404
这时候mypcName:8080可以看到tomcat的默认页面。但是mypcName:8080/myproject/index.jsp还是404.
在Tomcat v7.0 Server at localhost上点右键,选择Add or Remove,把myproject选到右边,重启tomcat,打开了index.jsp
windows : cls
linux : clear
2,eclipse 中配置的tomcat server起来后,浏览器中mypcName:8080/显示404错误
Click on Window > Show view > Server OR right click on the server in "Servers" view, select "Properties".
In the "General" panel, click on the "Switch Location" button.
The "Location: [workspace metadata]" should replace by something else.
Open the Overview screen for the server by double clicking it(Tomcat v7.0 Server at localhost.server).
In the Server locations tab , select "Use Tomcat location".
Save the configurations and restart the Server.
You may want to follow the steps above before starting the server. Because server location section goes grayed-unreachable.
参考:http://stackoverflow.com/questions/16340711/tomcat-http-status-404
这时候mypcName:8080可以看到tomcat的默认页面。但是mypcName:8080/myproject/index.jsp还是404.
在Tomcat v7.0 Server at localhost上点右键,选择Add or Remove,把myproject选到右边,重启tomcat,打开了index.jsp
相关文章推荐
- android 开发中一些好的工具(随时记录)
- 关于b/s下的datawindow开发过程记录01
- 没头没尾--项目开发笔记:异常处理与日志记录代码自动生成(工具能生成多少代码!?续一)
- blog_20060523_2 看电视时随时在手机上记录的
- DTS开发记录(序)
- DTS开发记录(3)-- 连接与连接对
- SQL Server 开发之 数据记录拼接聚合
- 控件开发(记录)
- DTS开发记录(序)
- DTS开发记录(1)--系统总体结构
- 传真服务器开发 三页传真过程全记录(日志形式)
- 近几日工作记录 - VC界面,多线程以及Web开发
- VC++.NET 开发MFC数据库管理系统全记录[ADODC+DataGrid](2005-6-2)
- 记录1 OHR_ON 共同小画面的开发之一
- 今天有人问是否可以使用vs2005开发,回答了一下,记录下来
- 用C++Builder开发具有历史记录功能的编辑控件
- QQ密码天使v1.0开发小记
- EPICenter: 12月7日开发记录
- Delphi开发之:在DBGrid中用Mouse滚动键滚动记录
- DTS开发记录(2)-- 数据管道及插件