No goals have been specified for this build

2025-04-08 07:28:36

1、在运行的maven的构建的项目之后,提示了错误的信息No goals have been specified for this build

No goals have been specified for this build

2、进行运行项目的构建,然后进行选择为run as即可

No goals have been specified for this build

3、这样就会弹出了下一级的菜单中进行选择为“maven build”的选项

No goals have been specified for this build

4、然后在goals中进行输入为compile中即可,点击run运行

No goals have been specified for this build

5、可以看到的是构建项目之后,不会再提示错误的信息了。

No goals have been specified for this build

6、那么在下次构建的项目之后,可以直接选择需要的构建的项目即可,不会再次错误的信息。

No goals have been specified for this build
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢