在编译flink的scala工程的时候,编译命令如下:

mvn scala compile:compile package

完整报错信息如下:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.625 s
[INFO] Finished at: 2020-09-30T00:27:31+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'compile' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/appleyuchi/bigdata/apache-maven-3.6.3/jar_warehouse), alimaven (http://maven.aliyun.com/nexus/content/groups/public/)] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

进入调试模式
mvn scala compile:compile package -X

mvn help:system检查文件是否ok

最后发现是编译命令写错了,如下:

mvn clean scala:compile compile package

No plugin found for prefix ‘compile‘ in the current project相关推荐

  1. Maven出现错误No plugin found for prefix ‘jetty‘ in the current project and in the plugin groups的问题解决

    Maven出现错误No plugin found for prefix 'jetty' in the current project and in the plugin groups的问题解决 参考文 ...

  2. 错误:No plugin found for prefix spring-boot in the current project and in the plugin groups

    前言 maven 3.6.1 springboot v2.1.x 在多模块的 Maven 项目中,执行 mvn spring-boot:run -pl xxx.groupId:xxx.artifact ...

  3. 错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups

    在maven进行jetty的调试中出现错误: [ERROR] No plugin found for prefix 'jetty' in the current project and in the ...

  4. maven出现No plugin found for prefix ‘help‘ in the current project and in the plugin groups [org.ap

    控制台输入 mvn help:system 下载相应包时 出现如下问题: Noplugin found for prefix 'help' in the current project and in ...

  5. 【maven】No plugin found for prefix ‘install‘ in the current project

    1.场景1 1.1 概述 在安装jar文件到本地仓库时有时会遇到这样的问题 解决方法: 下载 wagon-http-lightweight-2.2.jar 位置 https://repo.maven. ...

  6. Maven配置完毕后构建失败,无法下载JAR包,输入mvn help:system后出现No plugin found for prefix ‘help‘...问题的解决方案

    这个问题困扰了我很久,找了很多解决方案,但还是一直无法解决.我在虚拟机中按照标准步骤配置了很多次,每次都能够成功,但一在物理机中,相同的配置步骤带来的结果却总是配置失败,在cmd中输入mvn help ...

  7. no plugin found for prefix ‘tomcat 7‘ in the current project and in the plugin groups的解决方法

    no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups的解决方法 参考文章: (1) ...

  8. java: Workaround: to make project compile with the current annotation processor implementation

    项目场景: 在idea运行项目时,出现 java: Workaround: to make project compile with the current annotation processor ...

  9. java: Workaround: to make project compile with the current annotation proces

    IDEA报错问题 java: Workaround: to make project compile with the current annotation processor implementat ...

最新文章

  1. mysql 客户无感知迁移_亿级账户数据迁移,不用数据库工具还能怎么搞?
  2. #error “OpenCV 4.x+ requires enabled C++11 support“解决方法
  3. rust(65)-rust常用指针
  4. Struts2-Action的基本流程
  5. 如何在Linux(CentOS, Debian, Fedora和Ubuntu)上安装MyCLI
  6. WSDL文件生成WEB service server端C#程序
  7. java nio教程_Java NIO教程
  8. php spss,spss新手入门
  9. 利用计算机管理分区,win7增加磁盘分区教学 利用磁盘管理增加分区
  10. 如何为MindManager时间表思维导图添加春节假期?
  11. Java Properties 与 ResourceBundle、ClassLoader 类加载器
  12. 传感器数据 数据库_丰富的数据,不良的数据:充分利用传感器
  13. 刨根问底 | 红遍全网的SD-WAN,到底是个啥?
  14. Android Webview下载Blob文件
  15. 计算机用户中的配置文件,我的电脑的用户配置文件中多了一个未知的帐户 – 手机爱问...
  16. android之标准体重
  17. Jsp中9大内建对象
  18. 为MacTex配置Ctex环境
  19. cmos电路多余输入端能否悬空_CMOS门电路的多余输入端可以悬空,悬空时相当于输入为逻辑1。...
  20. Nginx:12---反向代理之(代理模块,代理单个上游服务器)

热门文章

  1. UVa 10603 Fill (BFS+优先队列)
  2. Android为TV端助力 转载:android自定义view实战(温度控制表)!
  3. 使用支持向量机训练mnist数据
  4. C#/.NET主线程与子线程之间的关系
  5. GRUB 启动 WIN PE 镜像(ISO)
  6. 自己实现的atof()和atoi()代码 (转)
  7. ViewPager实现引导界面以及进入下一个activity解决办法
  8. java mysql 行锁_Java如何实现对Mysql数据库的行锁?
  9. python ljust 库_Python知识精解:str ljust()方法
  10. vue2.0+stylus实现商品增加减少控制按钮组件