无法运行Springboot应用程序

时间:2019-05-10 12:00:00

标签: spring-boot spring-boot-maven-plugin

我有一个springboot应用程序,正在尝试使用“以配置方式运行”和目标spring-boot来运行它:run

但是我收到以下错误 在插件org.springframework.boot:spring-boot-maven-plugin:1.5.7.RELEASE中找不到目标''目标可用信息build-info,help,repackage,run,start,stop-> [Help 1] < / p>

我更新了spring boot maven插件以包含目标。

<plugins>
<plugin>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-maven-plugin</artifactId>
  <executions>
     <execution>
        <goals>
           <goal>repackage</goal>
        </goals>
     </execution>
  </executions>

    

0 个答案:

没有答案
相关问题