创建 Spring Boot 启动项目 [英] creating Spring boot starter project

查看:29
本文介绍了创建 Spring Boot 启动项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我创建我的 spring Boot starter 项目时,我收到错误,因为 maven 配置问题.请帮我解决.

When i create my spring Boot starter project im getting error as maven configuration problem. Please help me to solve.

在此处输入图片说明

推荐答案

在 Eclipse 中报告了类似的错误:https://bugs.eclipse.org/bugs/show_bug.cgi?id=547340

Similar Bug was reported in eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547340

您可以通过将 Maven jar 插件版本从 3.1.2 临时降级到 3.1.1 来解决此问题.将此添加到属性部分:

You can fix this by temporary downgrading the maven jar plugin version to 3.1.1 from 3.1.2. Add this to the properties section:

<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>

在你的 pom.xml

In your pom.xml

<properties>
    <java.version>1.8</java.version>
    <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
</properties>

更新:已发布修复程序.单击帮助 > 检查 Eclipse/STS 中的更新并安装最新的 m2e 连接器.

Update: A fix has been released. Click Help > Check for updates in Eclipse/STS and install the newest m2e connector.

这篇关于创建 Spring Boot 启动项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆