51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 583|回复: 2
打印 上一主题 下一主题

Run/Debug configuration 里面添加maven后运行报错了

[复制链接]
  • TA的每日心情
    无聊
    昨天 09:32
  • 签到天数: 399 天

    连续签到: 5 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2022-6-24 11:45:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    1测试积点
    1. Run/Debug configuration 里面添加maven, 运行后就报错了

    2. [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. 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]
    3. [ERROR]
    4. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    5. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    6. [ERROR]
    7. [ERROR] For more information about the errors and possible solutions, please read the following articles:
    8. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException

    9. Process finished with exit code 1
    复制代码

    附件: 您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    昨天 09:01
  • 签到天数: 502 天

    连续签到: 5 天

    [LV.9]测试副司令

    2#
    发表于 2022-6-27 09:57:02 | 只看该作者
    看不清楚
    回复

    使用道具 举报

  • TA的每日心情
    慵懒
    昨天 10:09
  • 签到天数: 1381 天

    连续签到: 5 天

    [LV.10]测试总司令

    3#
    发表于 2022-6-27 12:45:15 | 只看该作者
    没有配置好环境
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-4-20 06:18 , Processed in 0.068829 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表