首页 > 代码库 > Maven :No goals have been specified for this build

Maven :No goals have been specified for this build

Maven报错

报错信息如下:No goals have been specified for this build

解决办法:在<build></build>标签中增加  <defaultGoal>compile</defaultGoal>

<build>
        <defaultGoal>compile</defaultGoal>

       。。。。。。

</build>

 

Maven :No goals have been specified for this build