您的位置:首页 > 运维架构 > Tomcat

JDK+tomcat+eclipse

2014-03-24 17:07 204 查看
1、首先安装JDK 和tomcat 并且配置系统环境变量

不会的网上找

2、eclipse中装配JDK :C:\Program Files\Java\jdk1.6.0_24

window - preferences - java - Installed JRES - 添加一个JDK并勾选之

3、eclipse下装配tomcat并关联jdk

window - preferences - sever - Runtime Environments - 添加一个tomcat并关联一个JDK

4、通过tomcat服务将svn检出的工程启动:

在severs窗口中右键 new一个tomcat服务 并将工程add到服务中

选中服务 右键 start 开始服务..

启动tomcat时可能会报一下错误:

a\ tomcat-start文件系统不同步Resourceis out of sync with the file system.txt

b\ tomcat-start启动开始时间超过45秒ServerTomcat v6.0 Server at localhost was unable to start within 45 seconds. If theserver requires more time, try increasing the timeout in the server editor..txt

c\ 8080端口被占用

d\
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: