一、部署项目打成war包 一、部署项目打成war包 windows系统 1、 进入到webRoot目录下,或者是webContent目录下 2、打war包命令:jar -cvf myApp.war . mac os系统:jar -cvf xxx.war * 3、把war直接复制到 tomcat的we ...
分类:
编程语言 时间:
2020-06-16 23:41:17
阅读次数:
95
1 <Context path="/my" docBase="d:/my"/> ...
分类:
其他好文 时间:
2020-06-16 20:02:48
阅读次数:
40
mysqldump备份方式是采用逻辑备份,其最大的缺陷就是备份和恢复速度都慢,对于一个小于50G的数据库而言,这个速度还是能接受的,但如果数据库非常大,那再使用mysqldump备份就不太适合了。这时就需要一种好用又高效的工具,xtrabackup就是其中一款,号称免费版的InnoDBHotBackup。Xtrabackup实现是物理备份,而且是物理热备目前主流的有两个工具可以实现物理热备:ibb
分类:
数据库 时间:
2020-06-16 15:32:20
阅读次数:
64
最近,在项目开发过程中使用了RedisTemplate,进行单元测试时提示“Field redisTemplate in com.example.demo1.dao.RedisDao required a bean of type ‘org.springframework.data.redis.co ...
分类:
编程语言 时间:
2020-06-16 15:14:43
阅读次数:
55
Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, ...
分类:
其他好文 时间:
2020-06-16 14:41:14
阅读次数:
63
1.python3.8 + django3.0.7 使用pymysql报错: django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.2 2.报错原因:是dj ...
分类:
数据库 时间:
2020-06-16 13:12:42
阅读次数:
111
返回前端的实体中包含long类型,并且因为精度丢失导致返回数据变化。添加注解把long转换成字符串。 @ApiModelProperty(value = "活动ID ", name = "campaignId", required = true) @JsonSerialize(using= ToSt ...
分类:
其他好文 时间:
2020-06-16 12:45:30
阅读次数:
44
Map<String, BigDecimal> teacherContribution = resultList.stream().collect(Collectors.toMap(RankingTeacherTotal::getUserId, RankingTeacherTotal::getVal ...
分类:
编程语言 时间:
2020-06-16 11:36:08
阅读次数:
57
共有三种方法,推荐使用方法三: 1. 使用1.8版本的appium desktop 好处是方便,坏处是不能跟上潮流,一直用之前的版本。真的感觉不开心。 2. 替换 应该是官方的appium-uiautomator2-server-debug-androidTest.apk有问题,换个版本替换下这个a ...
分类:
移动开发 时间:
2020-06-16 01:23:50
阅读次数:
335
https://www.cnblogs.com/Aduorisk/p/13105126.html https://www.cnblogs.com/tommyli/archive/2008/07/16/1244490.html 一、什么是SOA? SOA 面向服务架构,是一个架构思想,是跨语言和平台的 ...
分类:
其他好文 时间:
2020-06-16 01:16:54
阅读次数:
55