In Eclipse
you need to go like this.
Window-> Preference -> Java -> Installed JREs -> Edit
In the edit Default VM arguments
you need to put
If you already set the maven home.
-Dmaven.multiModuleProjectDirectory=$M2_HOME
More Related Contents:
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
- Eclipse can’t find XML related classes after switching build path to JDK 10
- Access restriction: The type ‘Application’ is not API (restriction on required library rt.jar)
- How do I add a Maven dependency in Eclipse?
- Create a Maven project in Eclipse complains “Could not resolve archetype” [duplicate]
- How to resolve Unable to load authentication plugin ‘caching_sha2_password’ issue
- Cannot change version of project facet Dynamic Web Module to 3.0?
- Eclipse Installation on macOS
- Eclipse/Maven error: “No compiler is provided in this environment”
- Lombok is not generating getter and setter
- What does Maven Update Project do in Eclipse?
- java.lang.NoClassDefFoundError: org/springframework/core/env/ConfigurableEnvironment
- Maven “build path specifies execution environment J2SE-1.5”, even though I changed it to 1.7
- Maven Java Version Configuration ignored by Eclipse/Idea
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
- Display omitted versions in maven dependency:tree?
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path [duplicate]
- how to configure lombok in eclipse luna
- How to solve maven 2.6 resource plugin dependency?
- Is it possible to build a java project only once using eclipse and share?
- Maven build failed: “Unable to locate the Javac Compiler in: jre or jdk issue”
- Cannot load properties file from resources directory
- JavaFX Maven Plug-in: No plugin found for prefix ‘jfx’ in the current project and in the plugin groups
- get rid of POM not found warning for org.eclipse.m2e:lifecycle-mapping
- How to build and run Maven projects after importing into Eclipse IDE
- m2Eclipse plugin: What does ‘Resolve Workspace Artifacts’ do?
- ClassNotFoundException DispatcherServlet when launching Tomcat (Maven dependencies not copied to wtpwebapps)
- Why Maven uses JDK 1.6 but my java -version is 1.7
- How to include system dependencies in war built using maven