---
title: "spring boot"
author: "hacker507"
date: "2019-05-27T10:02:06Z"
tags: []
categories: ["编程语言"]
slug: "spring-boot"
draft: false
lastmod: "2019-05-27T10:02:06Z"
id: 2441314
url: "https://hacker507.iteye.com/blog/2441314"
---

问题：采用eclipse的maven项目中pom.xml第一行出现错误 错误问题为空

网上试验了各种资料，大家按照各种方法一个一个试验，我是用第一种解决的。

第一种：

pom.xml添加如下


```xml

	<properties>
		<java.version>1.8</java.version>
		<maven-jar-plugin.version>2.6</maven-jar-plugin.version> 
         </properties>

```


第二种：更新插件

原因就是你的maven的配置文件不是最新的
1.help ->Install New Software -> add ->https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST
或者
http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/

PS:点击 next 前，将 eclipse Install 窗口右下角的 Contact all update sites during install to find required software 选项取消掉。

第三种:删除依赖文件下为下载成功的
 删除仓库下面后缀名为.lastUpdated的文件