eclipse中导入maven项目时pom文件报错

问题:

  org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration)

解决办法:

1、Help——>Install New SoftWare

2.

https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST/

3.按照安装提示,一直next,重启eclipse之后,执行maven-update project

原文地址:https://www.cnblogs.com/chengshun/p/9953423.html

时间: 2024-08-28 23:36:07

eclipse中导入maven项目时pom文件报错的相关文章

eclipse创建Maven项目时pom.xml报错

报错的主要原因是:我们刚创建的项目下webapp里面没有INF-WEB/web.xml文件 解决办法: 右键项目->双击Properties打开Properties for **窗口,然后点击Maven->Project Facets 找到如下图的选项,把取消选中 点击右下方的 Apply,然后选中上面的 Dynamic Web Module 下方就会出现如图所示: 点击上图所示,进入如下图所示: 在Generate  web.xml前面打勾 ,并把Content directory修改为sr

eclipse中导入maven项目:org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.proje

org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter) 解决方法为:更新eclipse中的maven插件 1.help ->  Install New Software -> add ->https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST 2.一直next confirm 安装更新 提

新建maven工程时pom.xml报错

新建maven工程时,pom.xml报错:第一行报如下错误:multiple annotations found at this line后添加org.eclipse.m2e相关的plugin配置后,错误消失,完整pom.xml如下: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem

新建maven项目出错 pom.xml报错

问题: 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-compil

eclipse中导入web项目时,出现转不了项目类型的问题解决方案

解决步骤: 1.进入项目目录,可看到.project文件,文本编辑器打开. 2.找到<natures>...</natures>代码段,加入如下标签内容并保存: org.eclipse.wst.common.project.facet.core.nature org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jem.workbench.JavaEMFNature 3.在eclipse的项目上点右键,刷新项目

向IDEA中导入Maven项目时出错:Unable to import Maven project

问题截图: 打开日志发现: 解决方法: 在本地安装的Maven--conf--settings.xml文件中的mirrors中增加 <!--新添--> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf&g

Eclipse中导入外部项目时提示HttpServletRequest(import javax.servlet cannot be resolved) 不能引用的问题

import javax.servlet cannot be resolved 解决方法: Project -> Properties -> Java Build Path -> Add Library -> Server Runtime -> next -> 选择你的Server -> Finish 原文地址:https://www.cnblogs.com/wuxingang/p/11240056.html

导入Web项目时jsp头部报错

新建jsp页面老提示: Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决步骤: 1.右键项目-build path 2.选择configure build path... 3.选择 Java build path 4.Add Library –> server Runti

连接私服仓库maven的pom文件报错:Project build error: Non-resolvable parent POM

配置了私服maven仓库,在内网160服务器上,修改了maven配置文件.下载了一个项目,pom文件报错 问题如图:         将<version>1.5.13.RELEASE</version>改成<version>2.0.1.RELEASE</version> 在更新项目 选中项目右击->maven->update project 刷新160上的私服网页看到jar包下载了 参考:https://blog.csdn.net/zyp6309