- 博客(8)
- 收藏
- 关注
原创 2021-08-03
**执行jar包报错 no main manifest attribute, in /app.jar** <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions>
2021-08-03 10:53:12
305
原创 mac 下安装使用jemeter
1.下载路径: https://jmeter.apache.org/download_jmeter.cgi2.解压到指定文件夹: tools3.打开终端输入命令: cd tools/apache-jmeter-5.4.1/bin4.执行jmeter: jmeter.sh
2021-02-26 14:02:10
284
原创 Map排序问题
Map 排序方法1. TreeMap<String,Double> treeMap = new TreeMap<> (); treeMap.put("aaa",20d); treeMap.put("aaa",10d); TreeMap<String,Double> orderByValue=new TreeMap<String,Double>( new Comparator<String>()
2020-07-14 14:17:16
369
原创 elasticsearch:调用接口设置search.max_buckets的值
elasticsearch:调用接口设置search.max_buckets的值义目录标题public class ElasticsearchBucketsTest { private static final String SET_MAX_BUCKETS_URL = "http://localhost:5601/api/console/proxy?path=_cluster%2Fset...
2020-04-10 14:46:16
4208
3
原创 RangePicker设置时间不可取
disabledDate = current => {return current && current.valueOf() >= Date.now();}; <RangePicker showTime disabledDate={this.disabledDate} format="YYYY-MM-DD H...
2019-04-09 10:36:47
1795
原创 组件生命周期图
异步操作设置state导致组件被销毁后setState报错:Warning: Can’t perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptio...
2019-03-26 13:50:37
241
原创 图表缩放问题
第一次前端开发遇到了很多问题,以下是其中一个问题困扰了我几天,mark下来以后复用,如有不正确的或者更好的方式,欢迎指正假如图表中没有其他字符,推荐使用zoom:number;进行缩放,默认是1.假如含有其他字符,由于浏览器目前对于汉字的大小最小只能设置成12px,所以推荐使用transform:scale(number)进行缩放,但是这种方法缩放的默认基点是图表的中心点,所以如果对样式有需...
2019-03-25 15:23:32
453
转载 Unexpected token in JSON at position 0 的错误解析
当你发送一个HTTP请求,可能是用Fetch或者其他的Ajax库,可能会出现这个错误提示,或者相似的错误。接下来我将解释这是由什么引起的,我们应该怎样解决这些问题1.引起的原因这些错误发生在当你向服务器发送请求,返回值不是JSON而用JSON的方法解析的时候,发生这种情况的代码可能是这样的。fetch(’/users’).then(res => res.json())实际的请求没有...
2019-03-25 15:23:02
63615
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人