美文网首页我爱编程
mac中Eclipse 配置常见问题

mac中Eclipse 配置常见问题

作者: 喵了个咪O_O | 来源:发表于2018-04-13 09:55 被阅读0次

1. 找不到server选项

1)Help -> Install New Software 

2) Work with 输入 kepler - http://download.eclipse.org/releases/kepler 

3)点击Add添加

4)勾选  Web, XML, Java EE and OSGi Enterprise Development  

5) Next - > 同意协议 完成

2. 找不到SVN

    1) . Help -> Install New Software 

    2). SVN - http://subclipse.tigris.org/update_1.8.x 

    这里要注意使用最新的SVN插件, 否则, 在添加SVN地址的时候会一直停留在 operation in progress页面

    3). 同意协议完成

4. Mac 下 Eclipse 内置Tomcat 端口被占用

问题描述: 

mac下的Eclipse中内置的Tomcat,启动时报一下错误:

Several ports (8080, 8009) required by Tomcat v8.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

解决办法: 

打开终端,输入以下命令

1. $ lsof -i :8080

如果你被占用的端口不是8080,请修改命令中的参数。 

该命令输出以下内容:

我的Mac上占用8080端口的进程ID是37387,所以我再将这个进程杀死

2. $ kill -9 37387

请根据你的进程ID来修改次命令的最后一个参数

然后再次启动Eclipse中的Tomcat,可以正常启动了!

windows版本解决办法: https://jingyan.baidu.com/article/48b558e30c7a977f38c09af0.html

5. mac 系统下 eclipse 无法启动

应用程序 -> eclipse -> 显示包内容 -> contents -> Eclipse -> configuration -> 删除org.eclipse.core.runtime文件

重启应用就搞定了

相关文章

网友评论

    本文标题:mac中Eclipse 配置常见问题

    本文链接:https://www.haomeiwen.com/subject/tvnqkftx.html