错误信息 Cannot resolve method Void .ctor(Int32, Int32, System.Decimal, System.Decimal) because the declaring type of the method handle System.ValueTuple` ...
分类:
Web程序 时间:
2020-06-28 18:38:02
阅读次数:
69
声明:本文摘抄参考自:https://www.cnblogs.com/Brake/p/13195737.html Connector的主要功能: 连接器主要用于对外交流,它负责接收外部的请求,然后把请求转交给container进行处理。主要功能如下: 监听网络请求、接受字节流 根据应用层协议(HTT ...
分类:
其他好文 时间:
2020-06-28 12:57:21
阅读次数:
61
Configration 将Mybatis config文件和mapper文件解析后,生成的对象,二级缓存在这个类中,此类的作用域是整个应用的生命周期 XMLConfigBuilder 对Mybatis config进行解析,并给configration对象的属性赋值 XMLMapperBuilde ...
分类:
其他好文 时间:
2020-06-28 09:42:01
阅读次数:
65
前言 之前在刷笔试题和面试的时候经常会遇到或者被问到 try-catch-finally 语法块的执行顺序等问题,今天就抽空整理了一下这个知识点,然后记录下来。 正文 本篇文章主要是通过举例的方式来阐述各种情况,我这里根据 try-catch-finally 语法块分为两种大情况讨论:try-cat ...
分类:
编程语言 时间:
2020-06-27 20:22:11
阅读次数:
67
一、概念 Aspect-Oriented-Programming(面向切面编程),一种编程思想。 切面:Aspect,由切入点和额外功能(增强)组成。 作用:解决项目业务中额外功能冗余的问题。 二、业务中存在的问题 public class UserServiceImpl implements Us ...
分类:
编程语言 时间:
2020-06-27 18:42:56
阅读次数:
84
码云地址:https://gitee.com/xmr123/JAVAEE/tree/feature-SSM 一、项目创建: 1、创建一个Javaweb项目并且配置好tomcat等 (之前做过 此步省略) 2、在setting中引入MAVEN 注意: MAVEN 的版本不能早于编辑器的版本否则会报错。 ...
分类:
其他好文 时间:
2020-06-27 09:56:52
阅读次数:
55
1 BOOL IsAlreadyRun() 2 3 { 4 5 HANDLE hMutex = NULL; 6 hMutex = ::CreateMutex(NULL,FALSE,"Application"); 7 if(hMutex) 8 { 9 if(ERROR_ALREADY_EXIST==: ...
“Database is locked” errors SQLite is meant to be a lightweight database, and thus can’t support a high level of concurrency. OperationalError: databa ...
分类:
数据库 时间:
2020-06-26 18:20:12
阅读次数:
165
Spring的工厂类介绍 public class SpringDemo1 { @Test /** * 传统方式开发 */ public void demo1(){ // UserService userService = new UserServiceImpl(); UserServiceImpl ...
分类:
编程语言 时间:
2020-06-25 21:21:27
阅读次数:
54
install(ubuntu os): sudo apt-get install apache2-utils usage: ab -c 200 -t 100 http://localhost:8001/ explain: -c concurrency -t timelimit ...
分类:
系统相关 时间:
2020-06-25 13:55:31
阅读次数:
54