jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'break' To use {% break %} and {% continue %}, you need to add the following jinja2 ext ...
分类:
其他好文 时间:
2020-05-22 12:52:24
阅读次数:
59
写在前面: 小伙伴儿们,大家好!这次让我们一起来入门学习SpringMVC? 思维导图: 1,环境配置; 我们建一个Maven项目,把我们所需要的依赖约会进去;大概是下面这样; <dependencies> <dependency> <groupId>org.springframework</gro ...
分类:
编程语言 时间:
2020-05-21 19:35:47
阅读次数:
48
报错: Exception in thread "main" java.lang.RuntimeException: java.net.SocketException: Call From bigdata/192.168.0.108 to bigdata:9000 failed on socket ...
分类:
其他好文 时间:
2020-05-20 18:38:55
阅读次数:
98
本文使用特性来描述接口而不是xml文件,使用特性可自定义接口在swaggerUI上的描述 安装nuget包:Swashbuckle.AspNetCore.SwaggerUI和Swashbuckle.AspNetCore.Annotations,配置swagger: using Microsoft.A ...
分类:
Web程序 时间:
2020-05-20 12:48:00
阅读次数:
94
背景:运行代码提示找不到ADB An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the A ...
分类:
移动开发 时间:
2020-05-20 12:43:19
阅读次数:
157
背景 运行时代码报错: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error ...
分类:
移动开发 时间:
2020-05-20 12:36:57
阅读次数:
127
喜欢就Star,不要Fork; 想要分享的动机才是驱动力,而技术仅仅是一种方法。 万能后台——自定义扩展功能 基于TP5,在此感谢 要封装常用功能 main.js源代码、如初始化selector、空对象判断、重定向、modal、全局的ajax请求、js中加载js/css文件、数据验证、重写了aler ...
分类:
Web程序 时间:
2020-05-19 22:57:02
阅读次数:
139
获取返回的所关注的事件SelectionKey集合Set<SelectionKey> selectionKeys = selector.keys(); selectionKeys循环处理完事件后,需要进行对它删除。 清除调用selectionKeys.clear()时 抛出异常: java.lang ...
分类:
编程语言 时间:
2020-05-19 18:04:13
阅读次数:
92
提高selenium脚本的执行速度有以下5种方法: 尽量使用by_css_selector()方法:by_css_selector()方法的执行速度比by_id()方法的更快,因为源码中by_id()方法会被自动转成by_css_selector()方法处理 使用等待时,尽量使用显示等待,少用sle ...
分类:
其他好文 时间:
2020-05-19 14:25:50
阅读次数:
192
阻塞式IO模型 最传统的一种IO模型,即在读写数据过程中会发生阻塞现象。 当用户线程发出IO请求之后,内核会去查看数据是否就绪,如果没有就绪就会等待数据就绪,而用户线程就会处于阻塞状态,用户线程交出CPU。当数据就绪之后,内核会将数据拷贝到用户线程,并返回结果给用户线程,用户线程才解除block状态 ...
分类:
系统相关 时间:
2020-05-18 23:06:43
阅读次数:
105