Spring Boot Admin UI 页面二次开发

因为对监控页面有不一样的需求,所以要对页面进行二次开发,在这里记录一下其中遇到的问题。

下载源码以及如何修改打包应用可参考下列文章

Spring Boot Admin系列(4)-自定义开发UI界面_springboot的ui界面好改吗_云烟成雨TD的博客-CSDN博客

我的页面更改

 修改页面位置

项目运行需注意的点

      1. 先运行前端,使用npm run watch

        2. 运行后端

     顺序不对可能会报错org.thymeleaf.exceptions.TemplateInputException: Error resolving template。解决:重新clean一下,按照1,2顺序运行

搭建环境时遇到的错误,错误原因没有及时截图下来,所以只能口头描述了

(1) npm版本问题。进行npm install时有依赖下载失败,极有可能是npm版本过高引起的,降低一下npm版本试试。

npm i 报错 npm ERR code 1_npm err! code 1_zjslan_js的博客-CSDN博客

(2) 项目中运行报错 npm install gyp verb check python checking for Python executable "python2" in the PATH gyp verb `which` failed Error: not found: python2

参考链接:https://www.cnblogs.com/init-007/p/17193786.html

(3) 打包时报错Unknown lifecycle phase ".test.skip=true". You must specify a valid lifecycle phase or a goal in the format

参考链接:Unknown lifecycle phase “.test.skip=true“. You must specify a valid lifecycl_"unknown lifecycle phase \".test.skip=true\". you _loveLifeLoveCoding的博客-CSDN博客

(4)打包时丢失html等文件

参考链接:

https://www.cnblogs.com/testopsfeng/p/15384704.html

(5)打包时报错Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0_享受旅行中的VIP快乐的博客-CSDN博客

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值