logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

jenkins 扫描git项目 出现 unable to resolve reference

jenkins unable to resolve reference ‘refs/tags/v2.1.3’: reference broken将 /root/.jenkins/caches 下的 git 相关的缓存都删除掉,重新扫描检出即可。如果是普通的git使用出现这个问题 参考 这个 https://www.cnblogs.com/BlueBerryCode/archive/2020/05/

腾讯云 COS Migration 文件迁移工具

官方使用文档:https://github.com/tencentyun/qcloud-documents/blob/master/product/%E5%AD%98%E5%82%A8%E4%B8%8ECDN/%E5%AF%B9%E8%B1%A1%E5%AD%98%E5%82%A8%204.0/%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/COS%20

#腾讯云#云计算
Spring Web 拦截异常, 封装返回结果并记录入参

异常拦截类@ControllerAdvice("com.yn.netcafe")@ResponseBodypublic class GlobalExceptionHandler {// 拦截 ServiceException 异常,并封装返回结果@ExceptionHandler(ServiceException.class)public BaseResponse serviceException

Yum No packages marked for update

Yum install 或者 Yum update 都没有包这时候你要注意你的/etc/yum.repos.d/这个路径下面有没有CentOS-Base.repo这个文件,如果没有,需要处理一下,给加上。# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the#...

Spring的嵌套事务(Propagation.NESTED)到底是个啥

SavePoint是数据库事务中的一个概念, 可以将整个事务切割为不同的小事务, 可以选择将状态回滚到某个小事务发生时的样子。Propagation.NESTED 则是外部事务的子事务, 如果外部事务 commit, 嵌套事务也会被 commit, 这个规则同样适用于rollback.嵌套事务开始执行时,它将取得一个 savepoint, 如果这个嵌套事务失败, 我们将回滚到此 savepoint

#mysql
Docker RabbitMQ-Management 安装 rabbitmq-delayed-message-exchange 插件

docker中没有 wget 等命令, 先手动下载插件https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/v3.8.0/rabbitmq_delayed_message_exchange-3.8.0.ez然后拷贝到docker里面去docker cp rabbitmq_delayed_...

Spring boot gateway网关 Unable to start ServletWebServerApplicationContext due to missing ServletWebSe

场景,某天gateway突然无法启动 Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean经过排查是引用的common包里添加了 spring-webmvc 的jar包,把该jar包排除即可<dependency><groupId>com.

Node将JS与Puppeteer打包成exe使用

pkgpkg是一个可以将nodejs代码打包封装成可执行文件的工具,安装命令如下:npm install -g pkg打包命令如:默认会打包三个平台的可执行文件,win、mac、linuxpkg index.js如果指向打包windowspkg -t win index.js由于puppeteer本身就是一个可执行程序,pkg不能将可执行程序一起打包,因此puppeteer代码可以这么写:cons

#javascript#npm#node.js
Vue3判断slot是否传值

<scrip>import { useSlots } from "vue";methods: {test() {//判断<slot/>是否有传值const slotDefault = !!useSlots().default;//判断<slot name="test"/>是否有传值const slotTest = !!useSlots().test;}}<

#前端
vue+element项目启动报错element-variables.scss问题

启动项目时报错:File to import not found or unreadable: ./src/assets/css/variables.scss.

#vue.js#scss#javascript
    共 56 条
  • 1
  • 2
  • 3
  • 6
  • 请选择