eclipse创建maven时报错,大神帮帮忙急用,在线等
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse创建maven时报错,大神帮帮忙急用,在线等相关的知识,希望对你有一定的参考价值。
Could not calculate build plan: Failed to parse plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.6 (C:\Users\hp\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\2.6\maven-resources-plugin-2.6.jar): invalid LOC header (bad signature)Failed to parse plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.6 (C:\Users\hp\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\2.6\maven-resources-plugin-2.6.jar): invalid LOC header (bad signature)
有时候maven下载的jar文件因为网络连接的原因是不完全的。 参考技术A 在创建maven项目时,将下图选项勾上追问
这里是勾选上了的?能具体点吗 谢谢
![](https://image.cha138.com/20230416/6e6a2aad2d504832afbc9d798ca2dc82.jpg)
使用Eclipse自带的Maven插件创建Web项目时报错:
问题描述:
使用Eclipse自带的Maven插件创建Web项目时报错:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE
Failed to resolve version for
org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE: Could
not find metadata
org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in
local (C:\Users\liujunguang\.m2\repository)
Failed to resolve version for
org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE: Could
not find metadata
org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in
local (C:\Users\liujunguang\.m2\repository)
如果还是不能创建或者问题没有解决可以安装下面的方法:
1.删除maven已经下载的文件路径:.m2\repository\org\apache\maven
删除之后再试下,这时候如果看到有进度,只需要耐心等待就行了
以上是关于eclipse创建maven时报错,大神帮帮忙急用,在线等的主要内容,如果未能解决你的问题,请参考以下文章
请问下eclipse中加载进来的项目src报错怎么解决,求大神帮帮忙,还有jsp项目也是错误的
GeoIp2 数据库读取问题,我是在eclipse上编写的java jdk是7,生成DatabaseReader实例时报错