- QT学习——day7
流光拾贝
qtc++
QT学习——day7对话框界面对话框界面的模态显示TestDialog*dlg=newTestDialog(this);////Dialog窗口不能依附父窗口实现,只能单独显示////模态,exec()阻塞程序的执行,进行模态显示dlg->exec();对话框模态显示的关闭对话框的模态显示需调用函数.exec(),该函数的返回值为int类型。1.第一种模态对话框的关闭(隐藏)方式:ACCepted
- HTTP 状态消息
阳阳大魔王
计算机网络http网络协议网络网络安全笔记计算机网络
消息描述100Continue服务器仅接收到部分请求,如果服务器没有拒绝该请求,客户端应该继续发送其余的请求。101SwitchingProtocols服务器转换协议:服务器将遵从客户的请求转换到另外一种协议。103Checkpoint或者POST请求恢复失败时的恢复请求建议。200OK请求成功201Created请求被创建完成,同时新的资源被创建。202Accepted供处理的请求已被接受,但是
- HTTP状态码知道哪些
emma20080101
http
100Continue继续,一般在发送post请求时,已发送了httpheader之后服务端将返回此信息,表示确认,之后发送具体参数信息200OK正常返回信息201Created请求成功并且服务器创建了新的资源202Accepted服务器已接受请求,但尚未处理301MovedPermanently请求的网页已永久移动到新位置。302Found临时性重定向。303SeeOther临时性重定向,且总是
- poj 2407 Relatives 【容斥原理基础题】
笑着走完自己的路
容斥原理
RelativesTimeLimit:1000MSMemoryLimit:65536KTotalSubmissions:11929Accepted:5841DescriptionGivenn,apositiveinteger,howmanypositiveintegerslessthannarerelativelyprimeton?Twointegersaandbarerelativelyprim
- QT QDialog 中的按钮,如何按下后触发 accepted 消息?
许野平
QTqtQDialogacceptedfinishedrejected
QT作为跨平台的系统,对话框并没有采用WindowsAPI那种模式,通过返回mrOK、mrCancel等结果告诉调用方结果,而是采用了accepted、rejected等信号确定执行结果。下面介绍几种出发这些信号的方法。1.在按钮的clicked槽函数中触发accepted信号在Qt的QDialog中,要实现在按下按钮后触发accepted信号,你通常需要将按钮的clicked信号连接到一个槽函数
- idea/data grip访问连接SQLserver数据报**The server selected protocol version TLS10 is not accepted by client
谨歂
IDEAintellijideasqlserver
分析原因:因为新版的JDK(jdk1.8)不推荐使用旧的TLSV1.0的协议,所以默认删除TLS10的支持解决方案:根据网上查询得知,在jdk下面查找jre\lib\security文件夹,编辑下面java.security,在内容里面查找jdk.tls.disabledAlgorithms,将TLSv1,TLSv1.1,3DES_EDE_CBC删除即可如图删除TLSv1,TLSv1.1,3DES
- DBeaver连接SqlServer报“The server selected protocol version TLS10 is not accepted by client prefere”的错误
彩虹豆
sqlserver数据库
macm芯片使用DBeaver在连接SqlServer时,出现如下图所示的错误:TheserverselectedprotocolversionTLS10isnotacceptedbyclientpreferences[TLS13,TLS12]驱动程序无法通过使用安全套接字层(SSL)加密与SQLServer建立安全连接。错误:“TheserverselectedprotocolversionTL
- 使用idea连接SQL Server数据库出错TLS10 is not accepted
onebigday
java学习intellij-ideajavaide
使用idea连接数据库时,发现提示错误:驱动程序无法通过使用安全套接字层(SSL)加密与SQLServer建立安全连接。错误:“TheserverselectedprotocolversionTLS10isnotacceptedbyclientpreferences[TLS13,TLS12]”。等等出错提示。可能有两个地方要修改:一、JDK安装目录的java.security文件。如:jdk1.8
- [codeforces 1300A] Non-zero (0+和)的处理
mrcrack
codeforces
[codeforces1300A]Non-zero(0+和)的处理总目录详见https://blog.csdn.net/mrcrack/article/details/103564004在线测评地址https://codeforces.ml/contest/1300/problem/AProblemLangVerdictTimeMemoryA-Non-zeroGNUC++11Accepted31m
- 10种表达和回应道歉的方式
心路之旅fighting
一.重点词汇1.Excuse原谅2.Whoops哎呀3.Apology道歉4.Apologize道歉5.Forgive原谅6.Inconvenience不便7.Accepted接受8.Bridge桥二.实用主题句1.Pardon,ma'am.Excuseme.Sorryaboutthat.不好意思,女士。不好意思。抱歉。2.Whoops.Sorry.That'smybad.哎呀,对不起。我的错。3
- The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
Program Debug
mybatis
驱动程序无法通过使用安全套接字层(SSL)加密与SQLServer建立安全连接。错误:“TheserverselectedprotocolversionTLS10isnotacceptedbyclientpreferences[TLS12]”解决方案:1.找到jdk下的jre,之后按照下图路径找到java.security2.删除TLSv1、TLSv1.1、3DES_EDE_CBC即可
- DBeaver连接SqlServer报“The server selected protocol version TLS10 is not accepted by client prefere”的错误
qubernet
IDE软件工具数据库DBeaver
DBeaver在连接SqlServer时,出现如下图所示的错误:TheserverselectedprotocolversionTLS10isnotacceptedbyclientpreferences[TLS13,TLS12]驱动程序无法通过使用安全套接字层(SSL)加密与SQLServer建立安全连接。错误:“TheserverselectedprotocolversionTLS10isnot
- 解决报错:The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
khan_talen
SQLServermicrosoftsqlserverintellijidea
>>>近期更新idea版本到2022.2.3后,使用idea自带的数据库管理工具连接SQLServer2014数据库时出现问题:```[08S01]驱动程序无法通过使用安全套接字层(SSL)加密与SQLServer建立安全连接。错误:“TheserverselectedprotocolversionTLS10isnotacceptedbyclientpreferences[TLS13,TLS12]
- [BUG]The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
不以物喜2020
bugsqlserverdolphinTLS10调度工具
0背景在当前部署好最新版本dolphinscheduler-3.1.3版本基础上,连接sqlserver发生报错。报错内容如下:ThedrivercouldnotestablishasecureconnectiontoSQLServerbyusingSecureSocketsLayer(SSL)encryption.Error:“TheserverselectedprotocolversionTL
- The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
Mr_hwt_123
数据库服务器运维sqlserverlinuxspringboot
前言:最近在Linux部署spring-boot+sqlserver项目时,报了有关数据库连接的错误;翻译过来大致意思就是:“数据库服务端的协议版本是TLS10,而客户端协议版本是TLS12”。网上查了些资料最后成功解决,在此记录下解决过程,希望能给大家提供到帮助。一、先看报错2、解决步骤1、在你的设备上找到jdk的安装目录下的java.security文件。我的机器java.security文件
- 快速解决The server selected protocol version TLS10 is not accepted by client preferences [TLS12] 问题保姆级教程
放逐N_K
javajavasqlserverjdk
一、问题详情:在连接SqlServer数据库时报错,下面是关键报错信息TheserverselectedprotocolversionTLS10isnotacceptedbyclientpreferences[TLS12]出现该错误的原因是,有一些JDK版本的禁用了TLS10导致的二、解决方法2.1、首先找到JDK的安装路径(声明我这里是jre的路径,修改的也是jre文件下java.securit
- 数组逆序重放c语言,计算概论(A)/基础编程练习2(8题)/6:数组逆序重放
miss废柴
数组逆序重放c语言
#includeintmain(){//输入n个整数intn,array[n],count=-;scanf("%d",&n);//循环读入元素while(scanf("%d",&array[++count])!=EOF){/*if(count>=n-1)//本机运行OK,能自动退出循环,须Ctrl+z+回车退出,但Openjudge不能Accepted:RuntimeErrorbreak;*///
- leetcode 138. Copy List with Random Pointer
nimiai
这是一个leetcode上accepted,可是自己却觉得代码写错了的故事。题目是这样的:image当我提交这样的代码时,竟然accepted了。image可是这样的方式明显会产生野指针啊,就是random指向的地址就根本不在list中,虽然他们的值一样,可是地址是完全不一样的。为了验证我的猜想,开始了虐自己的道路。我的主要思想就是看random指向的那个是不是list中的那个,因此我直接用了==
- HTTP状态信息
奇遇少年
http网络协议网络HTTP状态码
1xx:信息消息:描述:100Continue服务器仅接收到部分请求,但是一旦服务器并没有拒绝该请求,客户端应该继续发送其余的请求。101SwitchingProtocols服务器转换协议:服务器将遵从客户的请求转换到另外一种协议。2xx:成功消息:描述:200OK请求成功(其后是对GET和POST请求的应答文档。)201Created请求被创建完成,同时新的资源被创建。202Accepted供处
- 云风网(www.niech.cn)个人网站搭建(补充)HTTP常见状态码
niech_cn
个人开发网站搭建http网络协议网络
1xx:表示当前请求还在持续,未结束;101SwitchingProtocols:协议进行中,切换协议2xx:表示当前请求成功/完成;200OK:[GET]服务器成功返回用户请求的数据,请求成功201CREATED:[POST/PUT/PATCH]新建或修改数据成功202ACCEPTED:表示一个请求已经进入后台排队-异步任务204NOCONTENT:[DELETE]用户删除数据成功3xx:表示当
- linux教程— license information(license not accepted)
老酒馆的喵
linuxlinux
问题:vm下启动CentOs7时,出现一个licenseinformation页面解决办法:出现licenseinformation,即说明需要同意许可信息,输入1-回车-2-回车-c-回车-c回车,即可顺利安装。
- RESTFul api相应状态码
早退的程序员
restful后端
GET操作200:OK——成功202:ACCEPTED——请求已被接受并进入队列204:NOCONTENT——成功,但没有返回数据(查询结果为空,body为空)400:INVALIDREQUEST——请求有错误401:UNAUTHORIZED——授权错误403:FORBIDDEN——授权正确,但是请求被禁止404:NOTFOUND——请求针对的是不存在的资源406:NOTACCEPTABLE——请
- POJ 1142 Smith Numbers
bobten2008
哈希AlgorithmWithMePOJWithMe数论numbersinputintegeriteratoroutputeach
SmithNumbersTimeLimit:1000MSMemoryLimit:10000KTotalSubmissions:7141Accepted:2505DescriptionWhileskimminghisphonedirectoryin1982,AlbertWilansky,amathematicianofLehighUniversity,noticedthatthetelephonen
- 服务器传来的状态码
放荡不羁的小雨鸽
前端
服务器传来的状态码HTTP状态码(HTTPstatuscodes)是HTTP协议中的标准响应代码,用于表示客户端HTTP请求的响应状态。这些状态码分为5类,每一类有不同的数字代码,每个代码都有一个特定的含义。以下是常见的HTTP状态码:200OK:请求成功,数据(请求内容)正确返回。201Created:请求成功,新建了一个资源。202Accepted:请求已接受,但未处理完毕。204NoCont
- Qt中QDialog窗口的返回值设置
糯诺诺米团
Qtqt
当我们在使用QDialog的窗口时,需要点击确定或者取消按钮,关闭该窗口且通知使用者用法很简单,点击确定按钮,代码如下done(Accepted);//确定点击取消按钮时,代码如下done(Rejected);//取消外部调用窗口的使用QTestDialogdlg;intnResult=dlg.exec();if(nResult==QDialog::Accepted)//点击了确定按钮{//代码实
- 12/28QT 窗口交互
Y木子李
Qt项目学习算法qt
w.show()改为w.exec()是以模态的方法进行一个窗口的运行;done()两种状态传入Accepted(成功),Rejected(拒绝);发布项目:更改应用程序.exe图表,在工程文件中添加:RC_ICONS+=login.ico发布时把项目模式更改为ReleaseWhenexecutingstep“qmake“——QtCreator快速排错项目----build-----构建目录----
- SCI投稿:MDPI旗下期刊Mathematics投稿经历
KogRow
杂项论文投稿SCI
最近写了篇论文,由于国内期刊现状(懂的都懂),打算投国外的期刊,看来看去选择投MDPI旗下的Mathematics。手稿经过一轮大修之后顺利收到了Accepted,从投稿到接收共一个月左右,过程还是比较顺利的,记录一下投稿过程。《Mathematics》的影响因子虽然只有1.747分,但好歹也是SCIE收录的期刊,在数学领域位于JCR一区,中科院分区里数学大类3区,小类4区,还行:注:继浙江工商大
- QML —— 键盘输入示例(附完整源码)
信必诺
QMLQtQML
示例效果 Keys 所有视觉基本体都支持通过“附加关键帧”属性进行关键帧处理。按键可以通过onPressed和onReleased信号属性进行处理。 信号属性有一个KeyEvent参数,名为event,其中包含事件的详细信息。如果键被处理,则event.accepted应设置为true,以防止事件向上传播到项层次结构。 源码importQtQuick2.12importQtQuic
- POJ 2456 Aggressive cows (二分 基础)
_TCgogogo_
二分/三分/两点法POJ二分
AggressivecowsTimeLimit:1000MSMemoryLimit:65536KTotalSubmissions:7924Accepted:3959DescriptionFarmerJohnhasbuiltanewlongbarn,withN(2#includeusingnamespacestd;intconstINF=0x3fffffff;intconstMAX=1e5+5;in
- POJ 3233 Matrix Power Series (矩阵快速幂+二分)
_TCgogogo_
数论二分/三分/两点法POJ矩阵快速幂二分
MatrixPowerSeriesTimeLimit:3000MSMemoryLimit:131072KTotalSubmissions:16403Accepted:6980DescriptionGivenan×nmatrixAandapositiveintegerk,findthesumS=A+A2+A3+…+Ak.InputTheinputcontainsexactlyonetestcase.
- Maven
Array_06
eclipsejdkmaven
Maven
Maven是基于项目对象模型(POM), 信息来管理项目的构建,报告和文档的软件项目管理工具。
Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,所以常常用两三行 Maven 构建脚本就可以构建简单的项目。由于 Maven 的面向项目的方法,许多 Apache Jakarta 项目发文时使用 Maven,而且公司
- ibatis的queyrForList和queryForMap区别
bijian1013
javaibatis
一.说明
iBatis的返回值参数类型也有种:resultMap与resultClass,这两种类型的选择可以用两句话说明之:
1.当结果集列名和类的属性名完全相对应的时候,则可直接用resultClass直接指定查询结果类
- LeetCode[位运算] - #191 计算汉明权重
Cwind
java位运算LeetCodeAlgorithm题解
原题链接:#191 Number of 1 Bits
要求:
写一个函数,以一个无符号整数为参数,返回其汉明权重。例如,‘11’的二进制表示为'00000000000000000000000000001011', 故函数应当返回3。
汉明权重:指一个字符串中非零字符的个数;对于二进制串,即其中‘1’的个数。
难度:简单
分析:
将十进制参数转换为二进制,然后计算其中1的个数即可。
“
- 浅谈java类与对象
15700786134
java
java是一门面向对象的编程语言,类与对象是其最基本的概念。所谓对象,就是一个个具体的物体,一个人,一台电脑,都是对象。而类,就是对象的一种抽象,是多个对象具有的共性的一种集合,其中包含了属性与方法,就是属于该类的对象所具有的共性。当一个类创建了对象,这个对象就拥有了该类全部的属性,方法。相比于结构化的编程思路,面向对象更适用于人的思维
- linux下双网卡同一个IP
被触发
linux
转自:
http://q2482696735.blog.163.com/blog/static/250606077201569029441/
由于需要一台机器有两个网卡,开始时设置在同一个网段的IP,发现数据总是从一个网卡发出,而另一个网卡上没有数据流动。网上找了下,发现相同的问题不少:
一、
关于双网卡设置同一网段IP然后连接交换机的时候出现的奇怪现象。当时没有怎么思考、以为是生成树
- 安卓按主页键隐藏程序之后无法再次打开
肆无忌惮_
安卓
遇到一个奇怪的问题,当SplashActivity跳转到MainActivity之后,按主页键,再去打开程序,程序没法再打开(闪一下),结束任务再开也是这样,只能卸载了再重装。而且每次在Log里都打印了这句话"进入主程序"。后来发现是必须跳转之后再finish掉SplashActivity
本来代码:
// 销毁这个Activity
fin
- 通过cookie保存并读取用户登录信息实例
知了ing
JavaScripthtml
通过cookie的getCookies()方法可获取所有cookie对象的集合;通过getName()方法可以获取指定的名称的cookie;通过getValue()方法获取到cookie对象的值。另外,将一个cookie对象发送到客户端,使用response对象的addCookie()方法。
下面通过cookie保存并读取用户登录信息的例子加深一下理解。
(1)创建index.jsp文件。在改
- JAVA 对象池
矮蛋蛋
javaObjectPool
原文地址:
http://www.blogjava.net/baoyaer/articles/218460.html
Jakarta对象池
☆为什么使用对象池
恰当地使用对象池化技术,可以有效地减少对象生成和初始化时的消耗,提高系统的运行效率。Jakarta Commons Pool组件提供了一整套用于实现对象池化
- ArrayList根据条件+for循环批量删除的方法
alleni123
java
场景如下:
ArrayList<Obj> list
Obj-> createTime, sid.
现在要根据obj的createTime来进行定期清理。(释放内存)
-------------------------
首先想到的方法就是
for(Obj o:list){
if(o.createTime-currentT>xxx){
- 阿里巴巴“耕地宝”大战各种宝
百合不是茶
平台战略
“耕地保”平台是阿里巴巴和安徽农民共同推出的一个 “首个互联网定制私人农场”,“耕地宝”由阿里巴巴投入一亿 ,主要是用来进行农业方面,将农民手中的散地集中起来 不仅加大农民集体在土地上面的话语权,还增加了土地的流通与 利用率,提高了土地的产量,有利于大规模的产业化的高科技农业的 发展,阿里在农业上的探索将会引起新一轮的产业调整,但是集体化之后农民的个体的话语权 将更少,国家应出台相应的法律法规保护
- Spring注入有继承关系的类(1)
bijian1013
javaspring
一个类一个类的注入
1.AClass类
package com.bijian.spring.test2;
public class AClass {
String a;
String b;
public String getA() {
return a;
}
public void setA(Strin
- 30岁转型期你能否成为成功人士
bijian1013
成功
很多人由于年轻时走了弯路,到了30岁一事无成,这样的例子大有人在。但同样也有一些人,整个职业生涯都发展得很优秀,到了30岁已经成为职场的精英阶层。由于做猎头的原因,我们接触很多30岁左右的经理人,发现他们在职业发展道路上往往有很多致命的问题。在30岁之前,他们的职业生涯表现很优秀,但从30岁到40岁这一段,很多人
- [Velocity三]基于Servlet+Velocity的web应用
bit1129
velocity
什么是VelocityViewServlet
使用org.apache.velocity.tools.view.VelocityViewServlet可以将Velocity集成到基于Servlet的web应用中,以Servlet+Velocity的方式实现web应用
Servlet + Velocity的一般步骤
1.自定义Servlet,实现VelocityViewServl
- 【Kafka十二】关于Kafka是一个Commit Log Service
bit1129
service
Kafka is a distributed, partitioned, replicated commit log service.这里的commit log如何理解?
A message is considered "committed" when all in sync replicas for that partition have applied i
- NGINX + LUA实现复杂的控制
ronin47
lua nginx 控制
安装lua_nginx_module 模块
lua_nginx_module 可以一步步的安装,也可以直接用淘宝的OpenResty
Centos和debian的安装就简单了。。
这里说下freebsd的安装:
fetch http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar zxvf lua-5.1.4.tar.gz
cd lua-5.1.4
ma
- java-14.输入一个已经按升序排序过的数组和一个数字, 在数组中查找两个数,使得它们的和正好是输入的那个数字
bylijinnan
java
public class TwoElementEqualSum {
/**
* 第 14 题:
题目:输入一个已经按升序排序过的数组和一个数字,
在数组中查找两个数,使得它们的和正好是输入的那个数字。
要求时间复杂度是 O(n) 。如果有多对数字的和等于输入的数字,输出任意一对即可。
例如输入数组 1 、 2 、 4 、 7 、 11 、 15 和数字 15 。由于
- Netty源码学习-HttpChunkAggregator-HttpRequestEncoder-HttpResponseDecoder
bylijinnan
javanetty
今天看Netty如何实现一个Http Server
org.jboss.netty.example.http.file.HttpStaticFileServerPipelineFactory:
pipeline.addLast("decoder", new HttpRequestDecoder());
pipeline.addLast(&quo
- java敏感词过虑-基于多叉树原理
cngolon
违禁词过虑替换违禁词敏感词过虑多叉树
基于多叉树的敏感词、关键词过滤的工具包,用于java中的敏感词过滤
1、工具包自带敏感词词库,第一次调用时读入词库,故第一次调用时间可能较长,在类加载后普通pc机上html过滤5000字在80毫秒左右,纯文本35毫秒左右。
2、如需自定义词库,将jar包考入WEB-INF工程的lib目录,在WEB-INF/classes目录下建一个
utf-8的words.dict文本文件,
- 多线程知识
cuishikuan
多线程
T1,T2,T3三个线程工作顺序,按照T1,T2,T3依次进行
public class T1 implements Runnable{
@Override
 
- spring整合activemq
dalan_123
java spring jms
整合spring和activemq需要搞清楚如下的东东1、ConnectionFactory分: a、spring管理连接到activemq服务器的管理ConnectionFactory也即是所谓产生到jms服务器的链接 b、真正产生到JMS服务器链接的ConnectionFactory还得
- MySQL时间字段究竟使用INT还是DateTime?
dcj3sjt126com
mysql
环境:Windows XPPHP Version 5.2.9MySQL Server 5.1
第一步、创建一个表date_test(非定长、int时间)
CREATE TABLE `test`.`date_test` (`id` INT NOT NULL AUTO_INCREMENT ,`start_time` INT NOT NULL ,`some_content`
- Parcel: unable to marshal value
dcj3sjt126com
marshal
在两个activity直接传递List<xxInfo>时,出现Parcel: unable to marshal value异常。 在MainActivity页面(MainActivity页面向NextActivity页面传递一个List<xxInfo>): Intent intent = new Intent(this, Next
- linux进程的查看上(ps)
eksliang
linux pslinux ps -llinux ps aux
ps:将某个时间点的进程运行情况选取下来
转载请出自出处:http://eksliang.iteye.com/admin/blogs/2119469
http://eksliang.iteye.com
ps 这个命令的man page 不是很好查阅,因为很多不同的Unix都使用这儿ps来查阅进程的状态,为了要符合不同版本的需求,所以这个
- 为什么第三方应用能早于System的app启动
gqdy365
System
Android应用的启动顺序网上有一大堆资料可以查阅了,这里就不细述了,这里不阐述ROM启动还有bootloader,软件启动的大致流程应该是启动kernel -> 运行servicemanager 把一些native的服务用命令启动起来(包括wifi, power, rild, surfaceflinger, mediaserver等等)-> 启动Dalivk中的第一个进程Zygot
- App Framework发送JSONP请求(3)
hw1287789687
jsonp跨域请求发送jsonpajax请求越狱请求
App Framework 中如何发送JSONP请求呢?
使用jsonp,详情请参考:http://json-p.org/
如何发送Ajax请求呢?
(1)登录
/***
* 会员登录
* @param username
* @param password
*/
var user_login=function(username,password){
// aler
- 发福利,整理了一份关于“资源汇总”的汇总
justjavac
资源
觉得有用的话,可以去github关注:https://github.com/justjavac/awesome-awesomeness-zh_CN 通用
free-programming-books-zh_CN 免费的计算机编程类中文书籍
精彩博客集合 hacke2/hacke2.github.io#2
ResumeSample 程序员简历
- 用 Java 技术创建 RESTful Web 服务
macroli
java编程WebREST
转载:http://www.ibm.com/developerworks/cn/web/wa-jaxrs/
JAX-RS (JSR-311) 【 Java API for RESTful Web Services 】是一种 Java™ API,可使 Java Restful 服务的开发变得迅速而轻松。这个 API 提供了一种基于注释的模型来描述分布式资源。注释被用来提供资源的位
- CentOS6.5-x86_64位下oracle11g的安装详细步骤及注意事项
超声波
oraclelinux
前言:
这两天项目要上线了,由我负责往服务器部署整个项目,因此首先要往服务器安装oracle,服务器本身是CentOS6.5的64位系统,安装的数据库版本是11g,在整个的安装过程中碰到很多的坑,不过最后还是通过各种途径解决并成功装上了。转别写篇博客来记录完整的安装过程以及在整个过程中的注意事项。希望对以后那些刚刚接触的菜鸟们能起到一定的帮助作用。
安装过程中可能遇到的问题(注
- HttpClient 4.3 设置keeplive 和 timeout 的方法
supben
httpclient
ConnectionKeepAliveStrategy kaStrategy = new DefaultConnectionKeepAliveStrategy() {
@Override
public long getKeepAliveDuration(HttpResponse response, HttpContext context) {
long keepAlive
- Spring 4.2新特性-@Import注解的升级
wiselyman
spring 4
3.1 @Import
@Import注解在4.2之前只支持导入配置类
在4.2,@Import注解支持导入普通的java类,并将其声明成一个bean
3.2 示例
演示java类
package com.wisely.spring4_2.imp;
public class DemoService {
public void doSomethin