First set up Maven in MyEclipse:
Below we create a Maven standard web project in MyEclipse:
New --> Web Project
Add Maven's standard directory:
Right click on the project name -->New-->Source Folder
Right click on the project name-->Build Path-->Configure Build Path...
So far, the jdk version of the Maven project created in MyEclipse has been changed.
--------------------------------------------------------------------------------------------------
The author here is a little more verbose. When using MyEclipse to create a Maven project, you may encounter the following problem:
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:
maven-compiler-plugin:2.3.2
or one of its dependencies could not be resolved: Failure to transfer org.apache.maven.plugins:
maven-compiler-plugin:jar:2.3.2
from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be
reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not
transfer artifact org.apache.maven.plugins:
maven-compiler-plugin:jar
:2.3.2 from/to central (http://
repo1.maven.org/maven2): No response received after 60000
--------------------------------------------------------------------------------------------------
The author here is a little more verbose. When using MyEclipse to create a Maven project, you may encounter the following problem:
Failure to transfer org.apache.maven.plugins:
maven-war-plugin:jar:2.1.1
from http://repo1.maven.org/maven2 was
cached in the local repository, resolution will not be reattempted until the update interval of central has
elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:
maven-war-plugin:jar:2.1.1
from/to central (http://repo1.maven.org/maven2): No response received after 60000