1.本地修改,未提交到本地仓库,想要恢复到修改前

右键这个文件-team-show local hostory -找到某一版本-右键-get Contents 即可恢复到某一版本

2. 命令:git remote -v

cd 到 git 项目目录下执行:git remote -v

origin http://****/AA/a.git (fetch)

origin http://****/AA/a.git (push)

3.代码运行命令:

dos:  mvn spring-boot:run

eclipse:spring-boot:run

====================================

问题: 在 eclipse: mvn  spring-boot:run 执行这条命令出错,最后去掉  mvn 在执行 OK!

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building qianke 0.1

[INFO] ------------------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.200 s

[INFO] Finished at: 2016-11-04T15:39:51+08:00

[INFO] Final Memory: 9M/309M

[INFO] ------------------------------------------------------------------------

[ERROR] Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

最新文章

  1. C#调用SendMessage 用法
  2. Android 单元测试(junit、mockito、robolectric)
  3. Android.mk 基本应用
  4. 捉襟见肘之UIImagePickerController 和自定义照相机
  5. true是表示使用身份验证,否则不使用身份验证
  6. mac El Capitan 10.11.6
  7. java获取点击微信自定义菜单的用户openid
  8. web app 相关记录
  9. Jquery之家5个顶级Material Design框架
  10. css table 布局
  11. 在openwrt上编译最简单的一个ipk包文件
  12. 理解OC“属性”这一概念
  13. python学习day15 模块(重点)
  14. js操作DOM对象
  15. [JavaScript] 后端js的模块化规范CommonJs
  16. canvas绘图工具
  17. 002_soa_zk处理经验总结
  18. 你好!酷痞Coolpy 之 Linux篇
  19. HDU - 2043密码 水题
  20. yum安装包另存

热门文章

  1. JS左侧菜单-03
  2. Python -- machine learning, neural network -- PyBrain 机器学习 神经网络
  3. 分享.net常见的内存泄露及解决方法
  4. TCP中ECN的工作原理分析二(摘自:RFC3168)
  5. linux iptable 设置实践
  6. ASM上的备份集如何转移到文件系统中
  7. linux内核内存管理(zone_dma zone_normal zone_highmem)
  8. 深入理解HTTP Session
  9. 采用apicloud开发移动端项目心得体会
  10. java类构造器的理解