zno2

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页

2023年6月1日 #

Central Authentication Service (单点登录)资料查询

摘要: 统一认证服务参考资料: https://en.wikipedia.org/wiki/Central_Authentication_Service https://www.apereo.org/projects/cas https://github.com/apereo/java-cas-client 阅读全文

posted @ 2023-06-01 16:22 zno2 阅读(18) 评论(0) 推荐(0) 编辑

一) Thread 两种实现方式

摘要: https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.1 https://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html#jls-14.19 http:// 阅读全文

posted @ 2023-06-01 16:21 zno2 阅读(15) 评论(0) 推荐(0) 编辑

ssh 登录 xshell

摘要: 1. 一般配置 ssh 登录 ip 端口 2. 登录(这步很关键,一开始不知道在哪里配置私钥,填完用户名下一步就知道答案了) 3. 添加私钥(将私钥文件上传即可,无需填写密码,确定即可) 4. 成功登录 阅读全文

posted @ 2023-06-01 16:21 zno2 阅读(47) 评论(0) 推荐(0) 编辑

Difference Between Session and Entity Beans

摘要: https://docs.oracle.com/cd/E17802_01/j2ee/j2ee/1.4/docs/tutorial-update6/doc/EJBConcepts4.html You should probably use an entity bean under the follow 阅读全文

posted @ 2023-06-01 16:21 zno2 阅读(7) 评论(0) 推荐(0) 编辑

由于安全原因,此附件只能以网页形式查看,不能保存到磁盘上。

摘要: 由于安全原因,此附件只能以网页形式查看,不能保存到磁盘上。 如果登陆时选择的是“此计算机是公用计算机或共享计算机”,则邮件里的附件不能下载。 如果选择的是“此计算机是私人计算机”,则邮件里的附件可以下载。 阅读全文

posted @ 2023-06-01 16:20 zno2 阅读(38) 评论(0) 推荐(0) 编辑

class loader

摘要: http://docs.oracle.com/javase/7/docs/technotes/tools/findingclasses.html https://docs.oracle.com/javase/tutorial/ext/basics/load.html http://docs.orac 阅读全文

posted @ 2023-06-01 16:20 zno2 阅读(9) 评论(0) 推荐(0) 编辑

-bash: ./test.sh: /bin/bash^M: bad interpreter: No such file or directory

摘要: vi close_feature.sh Esc Shift+: :set ff fileformat=dos 利用编辑器内部命令,查看文件格式是:dos 这种格式用于Windows :set ff=unix :wq! :se[t] {option}? Show value of {option}. 阅读全文

posted @ 2023-06-01 16:20 zno2 阅读(11) 评论(0) 推荐(0) 编辑

Bad substitution | unable to access jarfile | Syntax error: "(" unexpected

摘要: 如果你遇到了以上的问题,首先检查一下 sh 脚本 是否可执行(权限) ls -l 查看(x) 这是罪魁祸首,会引起各种诡异的问题。 如果只有 read write 权限,没有 excute 权限 请授权 chmod 777 *.sh 再考虑常规的解决办法。 验证是否可执行可以./ + Tab 会列出 阅读全文

posted @ 2023-06-01 16:19 zno2 阅读(47) 评论(0) 推荐(0) 编辑

svn: E155007: 'xx' is not a working copy

摘要: If you get a not a working copy error, it means that Subversion cannot find a proper .svn directory in there. 阅读全文

posted @ 2023-06-01 16:19 zno2 阅读(362) 评论(0) 推荐(0) 编辑

ORA-01089

摘要: Caused by: java.sql.SQLRecoverableException: ORA-01089: immediate shutdown in progress - no operations are permitted 连查询操作都不允许,谁动了我的数据库?! 阅读全文

posted @ 2023-06-01 16:17 zno2 阅读(41) 评论(0) 推荐(0) 编辑

国密信安NetEDS实操demo

摘要: 1.准备工作 1.1 安装 解压 “08-国密改造.zip” 解压 “08-国密改造\信安NetEDS安全中间件(JAVA)2.0.2.5_Linux_Windows_build20220630.zip” 解压 “08-国密改造\信安NetEDS安全中间件(JAVA)2.0.2.5_Linux_Wi 阅读全文

posted @ 2023-06-01 16:17 zno2 阅读(214) 评论(0) 推荐(0) 编辑

springboot jar 包启动后被删除报异常 NoClassDefFoundError

摘要: 起因:dev环境使用的springboot 运行,本地通过ali插件打包上传,正常是上传后立即重启。 阴错阳差我想先上传,等调用空闲时再重启,在此期间就出现了好多诡异的 java.lang.NoClassDefFoundError: org/apache/catalina/core/Applicat 阅读全文

posted @ 2023-06-01 16:16 zno2 阅读(185) 评论(0) 推荐(0) 编辑

spring 事务传播属性 (propagation)

摘要: propagation /ˌprɒpəˈɡeɪʃn/ 传播 资料: https://www.cnblogs.com/zno2/p/4767565.html https://docs.spring.io/spring-framework/docs/4.2.x/spring-framework-refe 阅读全文

posted @ 2023-06-01 14:24 zno2 阅读(89) 评论(0) 推荐(0) 编辑

一种继承关系复杂时来回调用的清晰思路模式

摘要: 下面可以列出各个方法具体内容 阅读全文

posted @ 2023-06-01 14:23 zno2 阅读(2) 评论(0) 推荐(0) 编辑

https 请求不通引发的思考(异常 SSLPeerUnverifiedException)

摘要: 推荐书籍: 《HTTP权威指南》、《HTTPS权威指南》、《Bulletproof SSL and TLS》 需求是新旧域名切换 https://etc.scjtonline.cn/xxx(旧)https://etc.its-sc.com.cn/xxx(新) 遇到的问题是切换后基于HttpClien 阅读全文

posted @ 2023-06-01 14:23 zno2 阅读(1241) 评论(0) 推荐(0) 编辑

What's New in JDK 8 & java-language-changes 9-20

摘要: 8变动 https://www.oracle.com/java/technologies/javase/8-whats-new.html Lambda表达式 Lambda Expressions https://docs.oracle.com/javase/tutorial/java/javaOO/ 阅读全文

posted @ 2023-06-01 14:22 zno2 阅读(4) 评论(0) 推荐(0) 编辑

cygwin | Get that Linux feeling - on Windows

摘要: http://www.redhat.com/services/custom/cygwin/ http://www.cygwin.com/ 阅读全文

posted @ 2023-06-01 14:21 zno2 阅读(7) 评论(0) 推荐(0) 编辑

SQuirreL SQL Client 支持各种数据库

摘要: http://squirrel-sql.sourceforge.net/ 下载 jar 安装 启动 进入到主界面发现下面这两个 Aliases 数据库连接 Drivers 数据库驱动 如何添加数据库驱动,下载驱动jar包,放置到%squirrel-sql_home%/lib 下,重新启动 squir 阅读全文

posted @ 2023-06-01 14:20 zno2 阅读(108) 评论(0) 推荐(0) 编辑

TortoiseSVN Update to revision

摘要: 一个文件有多个历史版本,当你想要恢复到某一版本时: 第一种:恢复到HEAD 第二种:恢复到指定的Revision 点击Show log 查看 revision 号 填写 revision 号 阅读全文

posted @ 2023-06-01 14:20 zno2 阅读(104) 评论(0) 推荐(0) 编辑

tomat 集群服务器升级注意事项

摘要: 1.备份war包,当升级遇到问题时,可以及时版本回滚。2.对于集群部署的服务器,在确保一台升级成功后方可进行下一台的升级,遭遇问题时应立即停止升级,排查问题,如果短时间不能解决,需要及时版本回滚。3.关闭tomcat服务器shutdown命令之后,需要用ps -ef|grep tomcat 检查to 阅读全文

posted @ 2023-06-01 14:17 zno2 阅读(10) 评论(0) 推荐(0) 编辑

util:constant 引入java类中的常量

摘要: 实践一下 package cn.zno.ztest; public class SomeBean { private int i; public int getI() { return i; } public void setI(int i) { this.i = i; } @Override pu 阅读全文

posted @ 2023-06-01 14:16 zno2 阅读(63) 评论(0) 推荐(0) 编辑

util:list map set

摘要: package cn.zno.testutil; import java.util.List; import java.util.Map; import java.util.Set; import org.springframework.stereotype.Component; public cl 阅读全文

posted @ 2023-06-01 14:14 zno2 阅读(3) 评论(0) 推荐(0) 编辑

couldn't clear tomcat cache java.lang.NoSuchFieldException: resourceEntries

摘要: 2015-09-25 00:17:11,435 WARN [dqapp24 http-nio-8002-exec-22] com.opensymphony.xwork2.util.LocalizedTextUtil couldn't clear tomcat cache java.lang.NoSu 阅读全文

posted @ 2023-06-01 14:13 zno2 阅读(92) 评论(0) 推荐(0) 编辑

如何使用PL/SQL Developer 连接remote 数据库

摘要: https://www.allroundautomations.com/plsqldev.html 1. 下载并安装 Oracle Instant Client Free, light-weight and easily installed Oracle Database libraries and 阅读全文

posted @ 2023-06-01 14:07 zno2 阅读(57) 评论(0) 推荐(0) 编辑

有赞 调用 api 接口(有赞开放平台)

摘要: ps:先注册有赞账号 有赞 https://www.youzan.com/ 有赞开放平台 http://open.youzan.com/ 有赞开发者后台 http://open.youzan.com/developer/app/index 接入说明: http://open.youzan.com/d 阅读全文

posted @ 2023-06-01 14:04 zno2 阅读(461) 评论(0) 推荐(0) 编辑

2021年2月6日 #

spring boot 配置 mybatis 数据源

摘要: 依赖,本例中用到了spring security user 相关接口,需要依赖 spring-boot-starter-security <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2 阅读全文

posted @ 2021-02-06 14:55 zno2 阅读(222) 评论(0) 推荐(0) 编辑

2020年8月21日 #

必填校验:修改浏览器自带“请填写此字段。”

摘要: function validate(input, msg){ if($(input).val().trim().length > 0){ msg = ''; } $(input).attr('oninvalid',"this.setCustomValidity('"+msg+"')").trigge 阅读全文

posted @ 2020-08-21 12:09 zno2 阅读(917) 评论(2) 推荐(0) 编辑

2019年1月21日 #

enum

摘要: https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.9 The body of an enum declaration may contain enum constants. An enum constant defi 阅读全文

posted @ 2019-01-21 21:30 zno2 阅读(204) 评论(0) 推荐(0) 编辑

2018年12月29日 #

nice coding (与其亡羊补牢,不如未雨绸缪)

摘要: 一、需求前 架构规范 建模规范 编码规范(流程控制,方法抽取,日志打印等) 《Effective Java》 《Design Patterns》 二、需求中 1. 明确需求(别人要什么) 2. 流程图(你该怎么做) 3. TDD(测试驱动开发) ① 单元测试 ② 集成测试 ③ 测试环境 ④ 正式环境 阅读全文

posted @ 2018-12-29 15:07 zno2 阅读(166) 评论(0) 推荐(0) 编辑

2018年12月19日 #

基于接口的 InvocationHandler 动态代理(换种写法)

摘要: InvocationHandler is the interface implemented by the invocation handler of a proxy instance. Each proxy instance has an associated invocation handler 阅读全文

posted @ 2018-12-19 16:59 zno2 阅读(283) 评论(0) 推荐(0) 编辑

基于继承的 MethodInterceptor 动态代理(换种写法)

摘要: net.sf.cglib.proxy.Enhancer Generates dynamic subclasses to enable method interception. This class started as a substitute for the standard Dynamic Pr 阅读全文

posted @ 2018-12-19 16:59 zno2 阅读(338) 评论(0) 推荐(0) 编辑

spring aop 的代理工厂

摘要: 参考 https://docs.spring.io/spring/docs/4.3.11.RELEASE/spring-framework-reference/htmlsingle/#aop-understanding-aop-proxies package org.springframework. 阅读全文

posted @ 2018-12-19 16:57 zno2 阅读(356) 评论(0) 推荐(0) 编辑

排序算法(sorting algorithm) 之 选择排序(selection sort)

摘要: https://en.wikipedia.org/wiki/Selection_sort loop1: 4,6,1,3,7 -> 4,6,1,3,7 4,6,1,3,7 -> 1,6,4,3,7 1,6,4,3,7 -> 1,6,4,3,7 1,6,4,3,7 -> 1,6,4,3,7 loop2: 阅读全文

posted @ 2018-12-19 16:46 zno2 阅读(243) 评论(0) 推荐(0) 编辑

排序算法(sorting algorithm)之 插入排序(insertion sort)

摘要: https://en.wikipedia.org/wiki/Insertion_sort loop1: 4,6,1,3,7 -> 4,6,1,3,7 loop2: 4,6,1,3,7 -> 4,1,6,3,7 4,1,6,3,7 -> 1,4,6,3,7 loop3: 1,4,6,3,7 -> 1, 阅读全文

posted @ 2018-12-19 16:45 zno2 阅读(228) 评论(0) 推荐(0) 编辑

排序算法 (sorting algorithm)之 冒泡排序(bubble sort)

摘要: http://www.algolist.net/Algorithms/ https://docs.oracle.com/javase/tutorial/collections/algorithms/ https://en.wikipedia.org/wiki/Sorting_algorithm 冒泡 阅读全文

posted @ 2018-12-19 16:44 zno2 阅读(565) 评论(0) 推荐(0) 编辑

join()

摘要: 1)谁等待这个线程结束 2)等多久 示例: Waits for this thread to die. this 指的是正在调用 join 方法的引用,即 t 那么便是当前线程(主线程,t的父线程)等待 t 结束 蓝色线代表主线程,绿色线代表子线程,x 轴代表时间条,y轴代表两种运行状态 情形1:子 阅读全文

posted @ 2018-12-19 16:44 zno2 阅读(181) 评论(0) 推荐(0) 编辑

2018年12月15日 #

ora 01795 in 1000 limit

摘要: https://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions013.htm https://docs.oracle.com/cd/B19306_01/server.102/b14200/expressions014.htm#i10 阅读全文

posted @ 2018-12-15 18:24 zno2 阅读(285) 评论(0) 推荐(0) 编辑

引用与垃圾回收

摘要: reference /'refərəns/ an indicator that orients you generally java.lang.ref.Reference<T> Abstract base class for reference objects. This class defines 阅读全文

posted @ 2018-12-15 18:15 zno2 阅读(195) 评论(0) 推荐(0) 编辑

索引

摘要: https://dev.mysql.com/doc/refman/5.6/en/create-index.html https://dev.mysql.com/doc/refman/5.6/en/index-btree-hash.html 语法: CREATE [ONLINE | OFFLINE] 阅读全文

posted @ 2018-12-15 17:16 zno2 阅读(115) 评论(0) 推荐(0) 编辑

2018年12月13日 #

mysql data type <----> java data type (数值)

摘要: https://dev.mysql.com/doc/refman/5.7/en/storage-requirements.html 阅读全文

posted @ 2018-12-13 20:19 zno2 阅读(133) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页

导航