eclipse 新建 maven 项目 + 消除错误】的更多相关文章

安装eclips以及maven自行去了解,这里不讲解 一.新建一个 maven 项目. 二.下一步选择项目架构 三.填写相关信息 group id: 一般都是 com点 项目名 aftriact.id 工程的名称 然后点击结束 四.消除错误或者警告 第一个 maven 项目创建成功之后,是会提示警告或者错误,这时我们需要 作以下的配置. 第一步:添加 tomcat 的库. eclips => preferences 然后选择自己的tomcat的安装目录,然后选择相应的tomact的版本,结束并应…
本篇博文是继续之前的博文eclipse新建maven项目(1),那篇博文不在随笔在文章中.首先按照之前那篇博文进行创建maven项目操作,一系列操作下来之后发现刷新项目后会报错: 别急哈,可以解决. 之后选中项目,鼠标右键: 之后升级maven项目即可看到错误解决了,没有了红叉提示了.针对于每次升级maven项目后,项目的jdk版本都会变成1.5版本的问题,其实是可以设置的,只需要在pom.xml文件中添加下面这串代码即可实现每次更新maven项目后不需要手动调整jdk版本. <!-- 源码目录…
使用eclipse新建maven项目,按下图所示选择后,报错 报错截图 报错详细信息 Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstar…
二.eclipse 新建maven 项目报错(因为没有配置maven环境) 1.问题: ① 出现的问题1: Could not calculate build plan:Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.…
安装 maven(百度) 和在eclipse 中svn(上一篇) 修改 maven 本地仓库 eclipse 属性 maven--> installations-->添加新的 自定义安装的 maven 指向 自定义安装的 maven 路径 --> user settings 修改global settings 和usersettings 改为 自定义安装的 maven 路径下 的conf-->settings.xml settings.xml 里面修改本地仓库地址(自已百度怎么修改…
我们新建maven项目,默认jdk版本是1.5,我们可以修改成我们想要的版本,有两种方法 1每个项目修改,在pom.xml添加 <build> <plugins> <!-- compiler插件, 设定JDK版本 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId&…
使用Eclipse导入Maven项目失败,提示: An internal error occurred during: "Importing Maven projects". Unsupported IClasspathEntry kind=4 修复这个问题须要做两件事 1.保证m2e插件的版本号高于 1.1.0.假设没有则到网站升级 : https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.1.0…
在使用eclipse创建maven项目的时候,有时候会出现这个问题: web.xml is missing and 'failOnMissingWebXml' is set to true我遇到这个问题是因为现在一般的web项目已经不需要web.xml文件了,于是我把它删掉了(eclipse自动创建了这个问题,但是我不需要所以删掉了),然后就提示了这个问题. 这个问题的原因是maven看到我们项目的类型是war 所以他说怎么可以没有web.xml了呢? 但是web.xml本来就不是必须的,我们总…
首先看一下eclipse版本,我用的是最新版Mars2. 下载地址自行搜索关键字:“eclipse官网”即可,注意下版本,32bit or 64bit. maven插件以及svn等相关插件安装设置问题不在这里赘述,有时间的话会发布出来. 在这里说一下,第一.关于中文和英文的问题,虽然很多人表示看不懂英文,但是我不建议汉化eclipse,推荐原版,原版虽是英文但是单词有限,习惯了就好了:第二.eclipse和myeclipse哪个更好用,我表示这两个都是工具而已,不是很重要,起码我不在意工具的种类…
问题: 1.新建项目后会提示一个这样的错 maven-compiler-plugin:3.1:compile(1 errors) maven-compiler-plugin:3.1:testCompile(1 errors) 2.关掉后看pom.xml 3.plugin标签也报错,无法解析 鼠标放红叉上提示 错误:  CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compi…