本文介绍了无法在插件org.springframework.boot中找到目标'':spring-boot-maven-plugin:1.1.4.RELEASE可用目标重新打包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天在eclipse中运行了一个spring应用程序(我有Windows 7)。我今天通过命令提示符使用以下命令运行它: mvn spring-boot:run

I ran a spring application in eclipse yesterday (I have Windows 7). I ran it today through the command prompt using the command: mvn spring-boot: run

这次它没有工作,我得到了消息:

This time it didn't work and I got the message:

Could not find goal '' in plugin org.springframework.boot:spring-boot-maven-plugin:1.1.4.RELEASE among available goals repackage

因为我没有更改代码我不知道为什么它不起作用,我应该怎么做再次运行它。我也尝试过一个不运行的旧项目,它会得到相同的错误信息。

Since I have not changed the code I don't know why it doesn't work and what I should I do to run it again. I have also tried an older project which doesn't run either and which gets the same error message.

推荐答案

更改

mvn spring-boot: run

mvn spring-boot:run

注意:在之后删除空格:

这篇关于无法在插件org.springframework.boot中找到目标'':spring-boot-maven-plugin:1.1.4.RELEASE可用目标重新打包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 22:17