I have set up Maven and Java in environment variables
in Windows. When I run the Maven project in eclipse or in JBoss Developer
studio I use to get below error.
I have ran my fuse project using JBoss Developer
studio. I have selected my fuse project right click on project selected Run as
build. I have entered clean install and click on finish. I got below error in
JBoss Developer studio. In this error only we have solution. We need to set the
M2 HOME.
-Dmaven.multiModuleProjectDirectory
system propery is not set. Check $M2_HOME environment variable and mvn script
match.
It’s a simple solution to fix the issue. Just follow
the below steps.
Click on Window à Preferences à Java Ã
Installed JREs Ã
Select the jdk click on edit.
Click on Ok.
Now build the maven project again, it should success
now.
0 comments :
Post a Comment