Cannot create a server using the selected type
来源:互联网 发布:带约束的最优化问题 编辑:程序博客网 时间:2024/06/06 10:47
linux环境下,eclipse配置server时选择tomcat时出现“Cannot create a server using the selected type”,网上有不少人遇到过这样的问题,但是实际中解决的方法也各不相同,因为出现这中情况的原因也各不相同。
我今天在配置eclipse的时候也出现了这种请况,已经确定eclipse中配置tomcat的路径没有问题,后来发现是因为当前系统用户不具备tomcat的启动权限,之前在手动情况时,都是通过#sudo sh catalina.sh start 来启动tomcat的。
解决方法:
假设tomcat的安装路径是:/opt/tomcat7
终端#cd /opt
#sudo chown -R aksen tomcat7 其中akesn是系统当前用户的用户名
这样配置之后,#sh catalina.sh start也可以启动tomcat了。
如此配置之后,在eclipse中配置server就没有出现“Cannot create a server using the selected type”
0 0
- Tomcat --> Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- tomcat7:cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- eclipse Cannot create a server using the selected type 问题解决
- Tomcat --> Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- eclipse:Cannot create a server using the selected type
- Tomcat --> Cannot create a server using the selected type
- Tomcat --> Cannot create a server using the selected type
- Cannot create a server using the selected type
- Cannot create a server using the selected type
- Tomcat --> Cannot create a server using the selected type
- Tomcat --> Cannot create a server using the selected type
- 大学那些事(5)
- Pools.java
- Bret Victor: Learnable Programming
- Github clone submodule Permission denied
- pringmvc整合redis架构搭建实例
- Cannot create a server using the selected type
- Thread的run()与start()的差别
- 代码实现UIPickerView
- iOS小项目---UIColor采用rgb
- Acdream 1081 梦
- import org.springframework
- datagrid 溢出文本显示省略号
- mybatis简单应用(基于配置文件)
- public boolean update