`

运行mavenNo goals have been specified for this build

 
阅读更多

maven工程启动时报错:

No goals have been specified for this build. 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-packagepackage, 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]

 

解决办法:pom.xml文件<build>标签后面加上<defaultGoal>compile</defaultGoal>即可

分享到:
评论

相关推荐

    mysql\eclipse常见问题及解决方案

    3. **Maven构建问题**:在执行Maven构建时,如果收到“No goals have been specified for this build”的错误,可以在pom.xml文件的&lt;build&gt;标签后面添加&lt;defaultGoal&gt;compile,这样Maven会默认执行编译目标。...

    hash table spell checking

    Note: the stl vector is used in this assignment, if you have any difficulties, you can refer to the documents given in this folder. Submission Submit only the following. 1. hashset.cpp – your ...

    nulls_for_goals

    nulls_for_goals

    Score Analysis Prerequisites, Goals, and Outcomes Prerequisites:

    Score Analysis Prerequisites, Goals, and Outcomes Prerequisites: Students ...Goals: This assignment is designed to reinforce the student's understanding the structure and use of the heap data structure.

    GOALS 数据集.zip

    GOALS(可能代表Gynecological Optical Assessment of Lesions for Surgery)是2022年国际医学图像计算与计算机辅助介入(MICCAI)挑战赛的一部分,专注于妇科病变的光学评估。这个数据集为研究者和开发者提供了一个...

    Docker Containers_Build and Deploy with Kubernetes,Flannel,Cockpit,and Atomic

    My goals for leading you into the world of containerization with this book can be summed up in these ways: ■ Hands-on learning: I often say this in my books, but I believe that the best way to learn...

    R Succinctly(Syncfusion,2014)

    I have two goals for this book. The first goal is to help you become comfortable with the R environment. The second goal is to inspire you to search for ways that R can answer your specific questions...

    抽象精品ppt模板nulls_for_goals166

    抽象精品ppt模板nulls_for_goals166

    simple_navigation_goals_ROS_

    3. **发布目标**:运行`simple_navigation_goals`的客户端节点,然后你可以使用`roslaunch`命令或`rqt`图形界面工具来发布目标。 例如,使用命令行发布目标: ``` roslaunch simple_navigation_goals send_goal....

    Statistics for Machine Learning

    This book will teach you all it takes to perform complex statistical computations required for machine learning. You will gain information on statistics behind supervised learning, unsupervised ...

    数据结构作业Hash表

    Note: the stl vector is used in this assignment, if you have any difficulties, you can refer to the documents given in this folder. Submission Submit only the following. 1. hashset.cpp – your ...

    XLSReadWriteII v6.0.0.47 for D7 D10.3 Rio

    A complete solution for working with MS Excel files. Native access to Excel files. The user doesn't need to have ... We are commited to have the leading Excel solution for Delphi in the future as well.

    build-helper-maven-plugin-0.15.0

    3. **处理Java代理(Java Agents)**:通过`attach-artifact`目标,开发者可以将Java代理(Java Agent)打包并附加到最终的JAR文件中,以便在运行时使用。 4. **管理资源文件**:`add-resource`目标允许添加非标准...

    Autonomous Control for a Reliable Internet of Services

    This open access book was prepared as a Final Publication of the COST Action IC1304 “Autonomous Control for a Reliable Internet of Services (ACROSS)”. The book contains 14 chapters and constitutes a...

    catiaV5[Mechanical design solutions-part1-book1]

    caita官方学习资料。 Introduction CATIA is a robust ...Students attending this course should have the following experience: Mechanical design experience Experience with the Windows operating system.

    Promoting professional growth for the school psychologist

    Promoting professional growth...substantiate how these goals have been attained. This specification of goals, or objectives as they are called more frequently, is being required of classroom teachers a

    a project model for the FreeBSD Project.7z

    These are usually the most active developers who are willing to spend their time not only integrating their own code but integrating code submitted by the developers who do not have this privilege....

Global site tag (gtag.js) - Google Analytics