做网站的大公司有哪些,网页排版设计软件,海外网络加速器免费,专门做前端项目的一些网站myecplise新建Maven项目Filter选什么 使用myeclipse建立maven项目 1234567分步阅读maven是管理项目的#xff0c;myeclipse是编写代码的。第一次写项目都要配置好多东西#xff0c;很麻烦#xff0c;now 来看看怎样新建一个maven项目。 工具/原料 myeclipsemaven方法/步骤 1…myecplise新建Maven项目Filter选什么 使用myeclipse建立maven项目 1 2 3 4 5 6 7 分步阅读 maven是管理项目的myeclipse是编写代码的。第一次写项目都要配置好多东西很麻烦now 来看看怎样新建一个maven项目。 工具/原料 myeclipse maven 方法/步骤 1 因为教程使用的maven是自己下载配置的并没有使用myeclipse自带的高版本的myeclipse自带maven。所以首先你要安装了maven。maven的下载安装可参考下面的经验。 0maven的下载配置 2 打开myeclipse本经验中使用的是myeclipse2014Window--preferences。 找到myeclipse--maven4myeclipse如果你要下载源码和帮助文档就勾选上图中那两个框。 在maven4myeclipse下找到installations,把自己安装的maven添加进来。如图 找到user settings。将user settings设置为maven项目下的cfon/settings.xml,确定。 新建一个web工程勾选上add maven supportjava version要在1.7及以上. 然后一路next到项目结构那儿选择maven的项目结构。 如果幸运的话新建的项目没有错。如果提示错误 Failure to transfer org.apache.maven:maven-artifact:pom:2.0.6 from http://repo.maven.apache.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:maven-artifact:pom:2.0.6 from/to central (http://repo.maven.apache.org/maven2): No connector available to access repository central (http://repo.maven.apache.org/maven2) of type default using the available factories pom.xml /hello line 1 Maven Configuration Problem 那样的话打开Window--preferences--myeclipse--maven4myeclipse---user settings把local repository里面的地址复制。 如果你的myeclipse没有的话就找到 c:\users\{你的电脑账号}\.m2\repository (一般在这个文件夹里)。 比如我的c:\users\long\.m2\repository 找打repository文件及后在里面搜索 maven*.lastupdated。把搜出来的文件都删了。 重启myeclipse右键项目---maven4myeclipse---update project... 勾选Force Update of Snapshots/Releases然后ok退出如果还是错误不要着急先等一会。如果过了一会还是有错那就问度娘吧。如果解决了记得投我一票哦。 转载于:https://www.cnblogs.com/hendy326/p/8053928.html