首页 > 代码库 > eclipse Server 没有成功启动

eclipse Server 没有成功启动

eclipse Server 没有成功启动

 

Eclipse3.x中热部署项目

[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source‘ to ‘org.eclipse.jst.j2ee.server:t‘ did not find a matching property.

F:/myproject/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/t does not exist or is not a readable directory

Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/t] has not been started

 

判断:产生问题是因为创建新的server和WEB项目后没有正确配置server服务,现正确配置如下

 

解决办法:

1.在servers中新建的SERVER上右击——属性的General项下右边Location属性点击SwitchLocation按钮,设置成/Servers/Tomcat v6.0 Server at localhost.server

(Server s : Properties -> General -> Location = /Servers/Tomcat v6.0 Server at localhost.server ;)

2.双击新建的server,修改Server Options设置:将Publish module contexts to separate XML files 打钩(最下面)

3. 配置WEB项目的server选项:右击WEB项目——属性(properties)——server(新建WEB项目后默认是none)选中里面您servers热部署中创建的server(我的是Tomcat v6.0 Server at localhost.server )。