GitHub中Java项目导入eclipse报错selection cannot be launched
来源:互联网 发布:如何恢复手机数据恢复 编辑:程序博客网 时间:2024/06/08 16:13
这两天在GitHub上想导入一个Java项目到eclipse,报错selection cannot be launched and there are no recent launches,试了各种方法还是没反应。
最后发现是eclipse没有把他识别成Java项目,而识别成了普通的文件。
出现上述情况的原因是,GitHub上Maven项目一般不依赖具体的IDE而没有将本地配置文件放到版本库中,程序中就没有.classpath和.project而不能被识别成正规的项目,解决方法如下:
安装配置Maven,并用Maven生成eclipse项目。
到文件中的pom.xml目录下,使用命令
mvn eclipse:eclipse
再用eclipse导入文件。
阅读全文
0 0
- GitHub中Java项目导入eclipse报错selection cannot be launched
- Java运行时报错,the selection cannot be launched,and there are no recent launches
- Eclipse开发Android报错android library projects cannot be launched
- 异常 报错 Android library projects cannot be launched
- android library projects cannot be launched 报错原因!
- Eclipse导入Maven项目,报错提示:The import net.sf.ehcache.Cache cannot be resolved
- 导入到eclipse中的项目报错 XXX cannot be resolved to a type
- Eclipse上使用arm-xilinx-linux-gnueabi-gcc遇到的The selection cannot be launched的问题
- Nutch1.12源代码导入Eclipse 报错The type java.nio.file.Path cannot be resolved.
- 关于有时候导入maven项目时候报错(有红色叹号,类中导入的包提示"the import java.util cannot be resolve,")
- eclipse新导入的项目经常可以看到“XX cannot be resolved to a type”的报错信息
- Eclipse 导入web项目后 报 The type javax.servlet.http.HttpServletRequest cannot be resolved.
- android程序导入错误:Android library projects cannot be launched
- 导入Javaweb项目后jsp文件报错:The type java.io.UnsupportedEncodingException cannot be resolved. It is indir
- the selection cannot be launched ,and there are no recent launches
- the selection cannot be launched,and there are no recent launches
- "Selection cannot be launched and there are no recent launches”错误的解决方案
- ecplise提示:“The selection cannot be launched, and there are no recent launches.”
- C++动态规划算法之怪盗基德的滑翔翼
- VC获得本机网络连接状态
- 实战录|听“老司机”谈谈分布式集群高并发问题
- Android 存储(本地存储 SD卡存储 SharedPreference SQLite ContentProvider)
- JSP内置对象
- GitHub中Java项目导入eclipse报错selection cannot be launched
- 调试时报错Thread::Current() != GetDebugThread()
- 新版SunlightDB发布: 当区块链遇到数据库
- 【Ubuntu】命令行安装deb安装包
- 2017-06-13共享时出现错误,没有启动服务器服务,此时尚未创建共享资源”的解决办法
- Java后台之路(12)-JSP
- 【Netty入门】Netty的线程模型
- c++真狗屎系列:char *str = "abcde"; 与 char str[] ="abcde"; 有何区别?
- 安装python 神经网络环境总结