Java 无法传输项目org.springframework.boot
我对eclipse中导入的项目有一个问题: [错误]fr.su:publipostage:1.0.0的不可解析父POM:无法传输工件org.springframework.boot:spring boot starter父POM:1.5.13.RELEASE from/to central():连接超时,并且“parent.relativePath”点位于错误的本地POM@第10行第10列->[帮助2] 以下是我的POM.XML:Java 无法传输项目org.springframework.boot,java,spring,maven,Java,Spring,Maven,我对eclipse中导入的项目有一个问题: [错误]fr.su:publipostage:1.0.0的不可解析父POM:无法传输工件org.springframework.boot:spring boot starter父POM:1.5.13.RELEASE from/to central():连接超时,并且“parent.relativePath”点位于错误的本地POM@第10行第10列->[帮助2] 以下是我的POM.XML: 4.0.0 苏神父 耻骨脂肪期 1.0.0 org.sprin
4.0.0
苏神父
耻骨脂肪期
1.0.0
org.springframework.boot
spring启动程序父级
1.5.13.释放
org.springframework.boot
弹簧靴起动器
org.projectlombok
龙目
假如
fr.opensagres.xdocreport
fr.opensagres.xdocreport.template.velocity
${xdocreport.version}
fr.opensagres.xdocreport
fr.opensagres.xdocreport.document.docx
${xdocreport.version}
fr.opensagres.xdocreport
fr.opensagres.xdocreport.converter.docx.xwpf
${xdocreport.version}
org.springframework.boot
弹簧起动试验
测试
com.jayway.jsonpath
json路径
测试
org.apache.poi
poi ooxml
3.17
1.8
2.0.1
org.springframework.boot
springbootmaven插件
.m2文件夹中的My settings.xml:
人工制品
应用程序发布
应用程序快照
如果您能提供任何帮助,我将不胜感激。我已经查阅了很多关于此主题的帖子,但到目前为止没有任何效果。“连接超时”表示存在网络问题。您是否在Maven中没有配置代理?如果重命名.m2目录,请运行mvn安装并查看是否下载了存储库。如果不是,这可能是一个网络问题,如果它真的起作用,元数据可能已经过时。感谢您的回答,所有内容都下载得很好,但在“家长”上仍然有相同的错误。这不是代理问题,因为我可以访问地址,这很奇怪。您的浏览器与Maven不同。如果您的区域内有代理/防火墙,则需要在您的设置中进行配置。xml@khmarbaise好的,谢谢,它看起来像现在工作,即使我有一个错误,它仍然编译等。。。奇怪的东西。谢谢你。
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.su</groupId>
<artifactId>publipostage</artifactId>
<version>1.0.0</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.13.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>fr.opensagres.xdocreport</groupId>
<artifactId>fr.opensagres.xdocreport.template.velocity</artifactId>
<version>${xdocreport.version}</version>
</dependency>
<dependency>
<groupId>fr.opensagres.xdocreport</groupId>
<artifactId>fr.opensagres.xdocreport.document.docx</artifactId>
<version>${xdocreport.version}</version>
</dependency>
<dependency>
<groupId>fr.opensagres.xdocreport</groupId>
<artifactId>fr.opensagres.xdocreport.converter.docx.xwpf</artifactId>
<version>${xdocreport.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>
</dependencies>
<properties>
<java.version>1.8</java.version>
<xdocreport.version>2.0.1</xdocreport.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<settings NS1:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/settings/1.0.0" xmlns:NS1="http://www.w3.org/2001/XMLSchema-instance">
<servers>
<!-- identification pour les telechargements -->
<server>
<id>artifactory</id>
<username></username>
<password></password>
</server>
<!-- identification pour les deploiements -->
<server>
<id>applicatifs-releases</id>
<username></username>
<password></password>
</server>
<server>
<id>applicatifs-snapshots</id>
<username></username>
<password></password>
</server>
</servers>
</settings>