【springcloud】启动web模块报错spring-boot-maven-plugin:2.2.1.RELEASE:run (default-cli) on project da-web

报错:spring-boot-maven-plugin:2.2.1.RELEASE:run (default-cli) on project da-web 

公司的springcloud项目不是前后端分离,所以web端还是用jsp,不能用jar方式启动只能用war方式。用的是下面的插件启动

<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

由于没有指定版本,之前的springcloud是1.5.9版本,后面因漏洞原因,就升级到springcloud2.2.1版本。

网上找了资料说2版本以上的spring-boot-maven-plugin改动较大,可能会出现我上面的情况。所以用回1.5.9版本就可以了。

参考文章:https://blog.csdn.net/qq_17231297/article/details/79815964

原文地址:https://www.cnblogs.com/xiaostudy/p/12293967.html

时间: 2024-10-10 19:17:21

【springcloud】启动web模块报错spring-boot-maven-plugin:2.2.1.RELEASE:run (default-cli) on project da-web的相关文章

Spring Boot Maven Plugin -- repackage目标

简介 Spring Boot Maven Plugin插件提供spring boot在maven中的支持.允许你打包可运行的jar包或war包. 插件提供了几个maven目标和Spring Boot 应用一起工作.总的有: spring-boot:repackage spring-boot:run spring-boot:start and spring-boot:stop spring-boot:build-info repackage:创建一个自动可执行的jar或war文件.它可以替换常规的

spring boot maven install时报错 Error creating bean with name &#39;serverEndpointExporter&#39;

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverEndpointExporter' defined in class path resource [com/pky/testmybatis/config/WebSocketConfig.class]: Invocation of init method failed; nested exception is j

MySQL在windows系统中修改datadir路径后无法启动问题,报错1067

windows server2008下如何更改MySQL数据库的目录的帖子已经很多了,这里简单介绍一个步骤,如果不成功请先查看其它帖子. 更改默认的mysql数据库目录 将 C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data 改到 D:\MysqlData 1. 建立文件夹 D:\MysqlData 2. 停止 mysql 服务,将 "C:\Documents and Settings\

启动MYSQL 57 报错“The service MYSQL57 failed the most recent........等”的问题解决方式!

每天开机之后,启动MYSQL Notifier就报错,第一次出现重启电脑后解决,后面的几天老是出现,重启电脑好几次都没有解决,感觉很烦人,一定要搞定这个问题找到原因,于是有了下文....... 启动MYSQL 57报错信息"The service MYSQL57 failed the most recent status change request with the message time out has expired and the operation has not been comp

利用Eclipse中的Maven构建Web项目报错

利用Eclipse中的Maven构建Web项目 1.在进行上述操作时,pom.xml一直报错 <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.o

启动Tomcat服务器报错

启动Tomcat服务器报错: Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to sto

Android 启动Tomcat服务报错,端口占用解决方案

启动Tomcat服务器报错:Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop

Appium1.6启动ios9.3报错Original error: Sdk &#39;9.3.5&#39; was not in list of simctl sdks

问题: 使用Apppium1.6启动ios9.3报错Original error: Sdk '9.3.5' was not in list of simctl sdks 我的启动配置如下 { "platformName": "ios", "platformVersion": "9.3.5", "bundleId": "com.wuba.zhuanzhuan", "app&quo

Excel Web Access 报错:Unable to Load Workbook

Excel Web Access 报错:Unable to Load Workbook The workbook that you selected cannot be loaded because it contains the following features that are not supported by Excel Services: Comments,Activex controls, Shapes, text Boxes, Pictures, WordArt, Clip Ar