使用eclipse调试git java maven项目
来源:互联网 发布:广州广大淘宝培训 编辑:程序博客网 时间:2024/05/17 06:51
(1):File -> Import -> Git -> Projects From Git > URI -> git repority
(2):Import as general project
(3):Notice the imported data is no valid Eclipse project (no build path available)
(4):Open the .project xml file in the project folder in Eclipse
(5):Go to source tab
(6):Search for <natures></natures> and change it to
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures> and save the file
(7):Right click the src folder, go to Build Path... and click Use as Source Folder
(8):If you still have troubles running the project (something like "main class not found"),
make sure the <buildSpec> inside the .project file is set
(9):
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
(10) project -> configure -> Convert to maven project
(2):Import as general project
(3):Notice the imported data is no valid Eclipse project (no build path available)
(4):Open the .project xml file in the project folder in Eclipse
(5):Go to source tab
(6):Search for <natures></natures> and change it to
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures> and save the file
(7):Right click the src folder, go to Build Path... and click Use as Source Folder
(8):If you still have troubles running the project (something like "main class not found"),
make sure the <buildSpec> inside the .project file is set
(9):
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
(10) project -> configure -> Convert to maven project
0 0
- 使用eclipse调试git java maven项目
- Eclipse使用:从git克隆maven项目
- Eclipse使用tomcat调试maven项目
- maven eclipse调试java开源项目
- Maven 项目eclipse调试
- Eclipse 调试maven项目
- eclipse中设置maven项目断电调试及maven使用
- 使用Maven管理Eclipse Java项目
- 使用 Maven管理Eclipse Java项目(转)
- 使用Maven管理 Eclipse Java项目
- 使用Maven管理Eclipse Java项目
- 使用 Maven管理Eclipse Java项目(转)
- 使用Maven管理Eclipse Java项目
- 使用Maven管理Eclipse Java项目
- 使用Maven管理Eclipse Java项目
- eclipse 中调试Maven项目
- 在Eclipse中使用resin调试maven war项目
- maven jetty eclipse run stop debug 调试java web项目
- SQL面试题
- LeetCode-117. Populating Next Right Pointers in Each Node || (JAVA)
- [转]Eclipse下tomcat输出路径配置
- iOS 网络图片下载_队列与线程_swift3
- Fibonacci数
- 使用eclipse调试git java maven项目
- 关于java中jquery框架无效的解决办法
- form表单的onsubmit() return问题
- DAY3学习笔记
- MySQL 以UPDATE更新数据
- javaSocket+Android实现五子棋对战平台
- kali中的中国菜刀weevely
- STL中随机数的调用
- 使用Matplotlib进行图分析