`
_与狼共舞
  • 浏览: 58877 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME en

    博客分类:
  • Java
阅读更多

eclipse中使用maven插件的时候,运行run as maven build的时候报错:

 

-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.

 

(1)直接的解决方法:使用低版本的maven

 

(2)可以设一个环境变量M2_HOME指向你的maven安装目录

M2_HOME=D:\Apps\apache-maven-3.3.1

然后在Window->Preference->Java->Installed JREs->Edit

在Default VM arguments中设置

-Dmaven.multiModuleProjectDirectory=$M2_HOME

如图:

 

  • 大小: 184.4 KB
分享到:
评论

相关推荐

    解决-Dmaven.multiModuleProjectDirectory system propery is not set

    -Dmaven.multiModuleProjectDirectory system propery is not set错误的解决,就是没配置环境变量,或者配置有误

    WPTools.v6.29.1.Pro

    - WPTools 6 PRO and PREMIUM will be compiled as Version 5 if $define "WP6" is not set ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ We recommend to use TMS components to create modern user interfaces, ...

    vendormac:来自http的简单构建供应商mac映射文件

    Vendormac 这是用于生成Vendor Mac Map(例如Propery文件,xml文件和apple枚举元素)的简单实用程序。前提来自源文件。 另存为oui.txt(默认源文件名) 注意:定期需要更新用法 cmd> java -jar vendormac.jarcmd> ...

    DbfDotNet_version_1.0_Source

    Creating a record and accessing its propery is only what you need. Very small memory footprint Last time I checked the dbfDotNet dll was 50Kb. Other databases are 1Mb to 10Mb. I would appreciate if...

    最新Ehlib 5.2.84(含完整源代码,支持delphi XE)

    + Propery RowDetailPanelControl is added in public section. Use this property to add components on panel of detail information at RunTime. Use next code: MyControl.Parent := DBGridEh1....

    main:W15-2j团队CS2103项目

    java -cp stanford-ner.jar edu.stanford.nlp.ie.crf.CRFClassifier -prop propery_file_name.prop 截屏 <img src='screenshots/screenshot.png' alt='Logo'> 用户指南 对于命令行界面,用户可以使用以下命令与系统...

    C#读取JPEG图片的Exif信息

    // of the data once it is returned. Those properties have their own // methods. switch (exifCode) { case Definitions.exifCode.ImageDescription: returnValue = ParsedString(Definitions.exifCode....

    universal:与Angular Universal一起使用的通用软件包的对应版本

    在其他情况下,您将获得类型安全的模拟,并且至少可以确保cannot read propery of null或undefined is not a function cannot read propery of null undefined is not a function SSR中undefined is not a function...

    QML学习资料~~~~

    别人总结的QML学习资料,对学校QML有一定帮助

    kefir.db:基于Kefir的React式状态管理工具包

    该库基于本机Propery ,添加了许多其他功能,最重要的是,为可插入中间件建立了API。 用法 $ npm install kefir.db import K from "kefir" import * as D from "kefir.db" let inc = ( x ) => x + 1 let dec = ( x ...

    Elastic property of fcc metal nanowires via an atomic-scale analysis

    基于原子尺度的fcc金属纳米线材杨氏模量分析,乔力,郑晓静,本文给出了一种从原子间相互作用规律出发的fcc金属纳米线材杨氏模量的简单分析方法。通过考察金属纳米线材组成结构单元的微观特性

    ElementQuery:一个用于创建 css 元素查询的小 api。 当媒体还不够时

    在以下示例中,有 4 个主要部分: [{min / max} - {propery} ~= "{value}(unit)" ][ min-width ~= "40em" ] 按照计算顺序,首先有一个属性或查询类型,通常可以与其他数字表示变量(例如宽度、纵横比或面积)互换。...

    ExtJs扩展之GroupPropertyGrid代码

    ExtJs本身就提供了丰富的空间和良好的界面开发,就如同WinForm的开发一样。但是ExtJs的空间也有不完美的地方,但是有缺点也有他自己的弥补方法。ExtJs的良好的扩展性就是ExtJs自己控件不能实现的最好的方法。...

Global site tag (gtag.js) - Google Analytics