maven打包报错 ERROR: 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
打开pom.xml 在build标签中 增加
<defaultGoal>compile</defaultGoal>
如下:
<build>
<defaultGoal>compile</defaultGoal>
</build>

浙公网安备 33010602011771号