错误提示: 'packaging' with value 'jar' is invalid. Aggregator projects require 'pom' as packaging. @ line 3, column 110 问题背景: spring boot 聚合工程,clean 报如上错误 ...
分类:
编程语言 时间:
2020-07-26 02:01:07
阅读次数:
79
在前面的学习中,每次修改一次源代码,都需要经过一次webpack打包才能生效。因可以配置devServer,从而可以使修改的代码能立刻生效。一个简单的devServer配置如下 1 const path = require('path'); 2 const HtmlWebpackPlugin = r ...
分类:
Web程序 时间:
2020-07-25 09:47:38
阅读次数:
75
jq可以给shell提供json解析功能,但托管在epel仓库 yum -y install epel-release yum clean all yum makecache yum -y install jq 若安装过程遇到如下问题: yum Cannot retrieve metalink fo ...
分类:
其他好文 时间:
2020-07-24 19:06:44
阅读次数:
97
使用maven命令打包时,如果一个父工程下有多个子module存在循环依赖的情况下, 可能会影响Project Structure下Modules中的Dependencies的工程引用, 即直接引用Module,而非依赖Module的jar包, 启动时出现循环依赖错误,不易发现... 提示: 可通过 ...
分类:
其他好文 时间:
2020-07-24 09:59:29
阅读次数:
82
Redis 参考链接: Http://redis.io/ http://www.redis.cn/ 介绍 Remote Dictionary Server(远程字典服务器) 它可以用作数据库、缓存和消息中间件。 它支持多种类型的数据结构,如 字符串(strings), 散列(hashes), 列表( ...
分类:
其他好文 时间:
2020-07-22 02:17:22
阅读次数:
143
下午移植远程仓库项目的时候,控制台报错: java.io.IOException: Could not find resource mybatis-config.xml 经过排查,发现是我没有一直夫工程的pom.xml文件。 Maven clean清除缓存,然后build,即可。 ...
分类:
其他好文 时间:
2020-07-21 21:45:44
阅读次数:
113
在Linux环境执行定时脚本时,创建完脚本后,可以使用crontab进行编辑定时任务,并设置时间定时执行,下面就为大家详细的展示从创建脚本到设定定时任务的流程。 一、首先创建并编辑一个定时脚本 输入以下命令:touch clean.sh 创建脚本,这里我创建的是一个定时清理日志文件的定时脚本。 记得 ...
分类:
系统相关 时间:
2020-07-21 13:48:59
阅读次数:
92
在网上找了很多方法,有许多命令进行了尝试 失败方案: npm cache verify npm cache clean npm cache clean --force npm i -g npm grep -ir "sha1-xxxxxxxxxxxxxxxx" ~/.npm 解决方案是: 1.删掉pa ...
分类:
其他好文 时间:
2020-07-21 13:46:43
阅读次数:
69
1 在定义的form类中写下面的方法: 2 #局部钩子 clean_字段名称 , 3 def clean_name(self): 4 value = self.cleaned_data['name'] 5 if '大壮' in value: 6 raise ValidationError('含有敏感 ...
分类:
其他好文 时间:
2020-07-18 11:15:14
阅读次数:
73
两个文件。Makefile,dump_fsdb_vcs.tcl Makefile: #veridi simulation makefile for export f=filelist.f#allall: clean com_vcs run_vcs#start compile com_vcs: vcs ...
分类:
其他好文 时间:
2020-07-17 22:17:56
阅读次数:
107