报错1:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart 起因:删除一个用quickstart模板创建的Maven项目时,多删除了个意义不明的东西,现在看来应该就是quickstart相关的jar了.(可能是损坏,也可能是删掉了) 注:此时只是不能用quickstart模板创建Maven项目了,用其他模板正常. 解决:删掉对应文件夹中的相关文件,重新用mvn help:system…
创建MAVEN项目pom.xml报错 Failure to transfer org.apache.maven:maven-archiver:jar:2.4.2 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 upda…
1.问题描述: 我打算在父级maven项目中创建子级project,但是一直报错如下: 2.stackover flow中找到了问题的答案, 地址:https://stackoverflow.com/questions/35763928/error-when-i-tried-create-new-maven-module-in-intellijide-15 大概的意思是说,在你创建你的项目中,你建立的子项目不能设置在父级的目录上.你需要创建在父级的目录下,创建这个项目的文件. 解决办法如下: 1…
学着使用idea,想创建个maven项目,但是出师不利,立马报错,贼尴尬,错误信息如下: D:\Develop\JDK\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\AppData\Local\Temp\archetypetmp -Dmaven.home=D:\Develop\apache-maven-3.5.2 -Dclassworlds.conf=D:\Develop\apache-maven-…
同一个maven项目下的不同模块,无法导入其他模块的类,其他模块的所有类都报xxx cannot be resolved to a type 解决方案(参考): 项目Build Path -->Configure Build Path -->Libraries -->Add External JARs 把需要使用到的模块jar包导入 导入成功后,项目Referenced Libraries目录下会有导入的jar包…
首先 在 pom.xml > plugins 中添加 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version></version> <configuration> <source>1.8</source> <targ…
Description Resource Path Location TypeFailure to transfer com.thoughtworks.xstream:xstream:pom:1.3.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of centra…
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved --因为项目idea转到eclipse,熟悉软件中 解:删除本地仓库org\apache\maven目录下的plugin文件夹…
STS新建的maven项目报错问题 解决方法:打开pom.xml文件添加 <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> </dependency> 保存即可.…
在ecplise上新建maven项目 报错: 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.plugins:maven-resources-plugin…