MyEclipse创建Maven工程
先要在MyEclipse中对Maven进行设置:
下面我们在MyEclipse中创建一个Maven标准的Web工程:
New --> Web Project
添加Maven的标准目录:
右键单击项目名称-->New-->Source Folder
右键单击项目名称-->Build Path-->Configure Build Path...
到此为止MyEclipse中创建的Maven工程的jdk版本更改完毕。
--------------------------------------------------------------------------------------------------
笔者这边多啰嗦一句,在用MyEclipse创建Maven工程的时候可能会碰到下面的这个问题:
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
--------------------------------------------------------------------------------------------------
笔者这边多啰嗦一句,在用MyEclipse创建Maven工程的时候可能会碰到下面的这个问题:
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
相关推荐
lizhenmxcz 2013-05-12
dingqinghu 2020-06-16
markzl 2020-04-30
lunareclipse 2020-04-23
zhangxiaocc 2020-04-23
荷塘月色 2020-03-07
xnuzfm 2020-03-07
markzl 2020-03-07
xnuzfm 2020-02-21
熊猫大哥大 2011-06-04
lunareclipse 2020-01-08
tdeclipse 2011-02-28
程序员超哥 2014-06-26
BruceWayne 2014-06-07
lunareclipse 2019-12-23
A.在myeclise中恢复例子开发环境:1>在myeclipse中新建一个web工程,项目名称自己任意取名,"J2EE Specification Level"一栏选择"J2EE1.4",然后点击"
简单就是美 2013-07-07
eclipsec 2014-01-26
heshizui 2013-09-04