log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout eclipse使用maven编译时报错 -Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match. 解决办法: 先在系统中设置环境变量M2_HOME指向你的maven安装目录, 再在VM Options中设置 Preferen...