我下载的文件类型
组:com.example
工件:简单笔记
名称:便笺
说明:用于简单笔记应用程序的REST API
套件名称:com.example.easynotes
包装:jar(默认值)
Java版本:1.8(默认)
依赖项:Web,JPA,MySQL,DevTools
POM文件
<?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>com.example</groupId>
<artifactId>easy-Notes</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>easy-Notes</name>
<description>Rest API for a Simple Note Taking Application</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
错误味精
来自https://repo.maven.apache.org/maven2的org.springframework:spring-jcl:jar:5.0.8.RELEASE传输失败,已被缓存在本地存储库中,直到Central的更新间隔过去或更新到被迫。原始错误:无法从/到中央(https://repo.maven.apache.org/maven2)传输工件org.springframework:spring-jcl:jar:5.0.8.RELEASE:操作已取消。 org.eclipse.aether.transfer.ArtifactTransferException:无法从本地https://repo.maven.apache.org/maven2传输org.springframework:spring-jcl:jar:5.0.8.RELEASE的传输,在更新间隔之前不会重新尝试解析中心已用完或已强制更新。原始错误:无法从/到中央(https://repo.maven.apache.org/maven2)传输工件org.springframework:spring-jcl:jar:5.0.8.RELEASE:操作已取消。 在org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:240) 在org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:208) 在org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:563) 在org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:481) 在org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:399) 在org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:224) 在org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:338) 在org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:202) 在org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:212) 在org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:185) 在org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:116) 在org.eclipse.m2e.core.internal.embedder.MavenImpl.readMavenProject(MavenImpl.java:636) 在org.eclipse.m2e.core.internal.project.registry.DefaultMavenDependencyResolver.resolveProjectDependencies(DefaultMavenDependencyResolver.java:63) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refreshPhase2(ProjectRegistryManager.java:530) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager $ 3.call(ProjectRegistryManager.java:492) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager $ 3.call(ProjectRegistryManager.java:1) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:496) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:351) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob $ 1 $ 1.call(ProjectRegistryRefreshJob.java:89) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob $ 1 $ 1.call(ProjectRegistryRefreshJob.java:1) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99) 在org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1351) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob $ 1.call(ProjectRegistryRefreshJob.java:87) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob $ 1.call(ProjectRegistryRefreshJob.java:1) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151) 在org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99) 在org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1355) 在org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.run(ProjectRegistryRefreshJob.java:81) 在org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)