解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variabl

简介: 解决-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.myeclipse 2015 在编译(Run As-Maven install)maven项目出现如上错误,需要添加-Dma

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

myeclipse 2015 在编译(Run As-Maven install)maven项目出现如上错误,需要添加-Dmaven.multiModuleProjectDirectory=$M2_HOME,具体如下步骤

1.0 Windows-preference-Server-Runtime Environment选择jre

01

2.0 选中jdk点击edit,在Variables中添加

-Dmaven.multiModuleProjectDirectory=$M2_HOME

02

3.0 重新编译项目Run As-Maven install,编译成功

04

目录
相关文章
|
8天前
|
API Android开发 开发者
failed to set system property error code: 0x18
failed to set system property error code: 0x18
8 1
|
设计模式 Java 开发者
【小家Spring】面向切面编程之---Spring AOP的原理讲解以及源码分析(Cannot find current proxy: Set 'exposeProxy' property on )(下)
【小家Spring】面向切面编程之---Spring AOP的原理讲解以及源码分析(Cannot find current proxy: Set 'exposeProxy' property on )(下)
【小家Spring】面向切面编程之---Spring AOP的原理讲解以及源码分析(Cannot find current proxy: Set 'exposeProxy' property on )(下)
|
7月前
|
JavaScript API
【Vue】Cannot set reactive property on undefined,null,or primitive value:undefined
【Vue】Cannot set reactive property on undefined,null,or primitive value:undefined
104 0
|
4月前
|
关系型数据库 PostgreSQL
PostgreSQL 的哪些参数不能通过ALTER SYSTEM SET 修改
在 PostgreSQL 中,有一些参数是不能通过 `ALTER SYSTEM SET` 语句进行动态修改的,这些参数通常需要在 PostgreSQL 的配置文件中进行手动修改。以下是一些不能通过 `ALTER SYSTEM SET` 修改的常见参数: 1. **track_activities** 2. **track_counts** 3. **track_io_timing** 4. **track_functions** 5. **track_activity_query_size** 6. **track_commit_timestamp** 7. **shared_preload
|
消息中间件 Kafka
Cannot set the value of read-only property ‘additionalSourceDirs‘ for task ‘:jacocoRootReport‘ of
这个问题是gradle的build版本问题,我是在build kafka的老版本时报的错,这个问题我查了一遍网上的内容,发现很多博客忽略了IDEA settings关于gradle的build的一个配置。
340 0
Cannot set the value of read-only property ‘additionalSourceDirs‘ for task ‘:jacocoRootReport‘ of
|
关系型数据库 MySQL 数据库
DataGrip 2020.1连接数据库报错 Server returns invalid timezone. Need to set‘serverTimezone’property
DataGrip 2020.1连接数据库报错 Server returns invalid timezone. Need to set‘serverTimezone’property
185 0
DataGrip 2020.1连接数据库报错 Server returns invalid timezone. Need to set‘serverTimezone’property
|
数据库
Server returns invalid timezone. Need to set ‘serverTimezone‘ property.(idea连接数据库报错)
Server returns invalid timezone. Need to set ‘serverTimezone‘ property.(idea连接数据库报错)
110 0
Server returns invalid timezone. Need to set ‘serverTimezone‘ property.(idea连接数据库报错)
|
关系型数据库 MySQL Java
Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually
Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually
4295 1
Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually
|
Java 开发者 Spring
【小家Spring】面向切面编程之---Spring AOP的原理讲解以及源码分析(Cannot find current proxy: Set 'exposeProxy' property on )(上)
【小家Spring】面向切面编程之---Spring AOP的原理讲解以及源码分析(Cannot find current proxy: Set 'exposeProxy' property on )(上)
|
存储 C++
1129 recommendation system set
Recommendation system predicts the preference that a user would give to an item.
998 0