eclipse导入github上面的工程
2016-03-07 15:16
441 查看
Importing in Eclipse
These instructions were tested on Eclipse IDE for Java EE Developers Luna SR2. You can get it from http://eclipse.org/downloads/
To checkout and run the project in Eclipse, do:
File -> Import…
Check out Maven Projects from SCM
Choose Git from SCM menu
If you do not see “Git” in the SCM menu, click “Find more SCM connectors in the m2e Marketplace” and install “m2e-egit”. Restart Eclipse and start over.
Set the repository URL to https://github.com/vaadin/addressbook.git
Right click the imported “addressbook” and choose Run As -> Maven Build…
Set the goal to “jetty:run” and click “Run”
You should now have a Jetty server running on localhost:8080. Navigate to http://localhost:8080/ to play with the application
To use the built in server adapters of Eclipse, instead of doing “Run As -> Maven Build…” you can do
Run As -> Run on Server
Select the server you want to run on, e.g. Apache Tomcat 8 and click ok
Do not use the suggested J2EE Preview server as it is outdated, deprecated and does not support Servlet 3, which is required for this application
These instructions were tested on Eclipse IDE for Java EE Developers Luna SR2. You can get it from http://eclipse.org/downloads/
To checkout and run the project in Eclipse, do:
File -> Import…
Check out Maven Projects from SCM
Choose Git from SCM menu
If you do not see “Git” in the SCM menu, click “Find more SCM connectors in the m2e Marketplace” and install “m2e-egit”. Restart Eclipse and start over.
Set the repository URL to https://github.com/vaadin/addressbook.git
Right click the imported “addressbook” and choose Run As -> Maven Build…
Set the goal to “jetty:run” and click “Run”
You should now have a Jetty server running on localhost:8080. Navigate to http://localhost:8080/ to play with the application
To use the built in server adapters of Eclipse, instead of doing “Run As -> Maven Build…” you can do
Run As -> Run on Server
Select the server you want to run on, e.g. Apache Tomcat 8 and click ok
Do not use the suggested J2EE Preview server as it is outdated, deprecated and does not support Servlet 3, which is required for this application
相关文章推荐
- Java多线程学习(七)
- Java内部类
- 属于你的第一个Java程序
- spring中H2数据库的使用
- Binary Tree Zigzag Level Order Traversal 【Java】
- 将Extjs文件拷入eclipse工程下卡死问题
- javacript use strict 严格模式作用及深析
- java 初识String
- Java 导出Excel方法三
- Java中的可变参数
- Java 导出Excel方法二
- java程序设计基础_陈国君版第五版_第三章习题
- Spring XML中<beans>中属性概述
- Struts2的类型转换及输入校验(数组类型的使用)
- Java 导出Excel方法一
- Java5实现阻塞队列
- eclipse运行Android项目出现“The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. ”
- java XML转JSON格式
- java的定时器功能
- mac os intellij如何快路查看一个java类的所有方法,结构