摘要: 在博问中遇到一个多线程的问题:提问者问到volatile 然后发现一个多线程解释非常好的博客,下面链接 https://www.cnblogs.com/dolphin0520/p/3920373.html 博客理解: 我们在编写代码的时候有时候会用到多线程: 在并发编程中,我们通常会遇到以下三个问题 阅读全文
posted @ 2018-12-14 16:47 JSBK 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 从github 下git下来的项目java引不过来 idea 报 Cannot start compiler: the SDK is not specified for module "TestClientAPI".Specify the SDK in the Project Structure d 阅读全文
posted @ 2018-12-04 14:21 JSBK 阅读(2040) 评论(0) 推荐(0) 编辑
摘要: shiro 权限加密下的密码修改你会发现出现修改后只能用原先代码密码才登录上 原因:缓存问题 好吧,这很容易想到 然而: 一开始我将ssm 中配置的缓存 清除 ,然而并没有什么用 解决: https://blog.csdn.net/qq_38058332/article/details/834162 阅读全文
posted @ 2018-12-02 17:15 JSBK 阅读(955) 评论(0) 推荐(0) 编辑
摘要: 在用户登陆证realm 认证返回结果注意 这里 这里其实是user和username的集合,后端是分两个字段接收的 后段代码 下面进行了判断,不是Collection 即为用户名 阅读全文
posted @ 2018-12-02 17:06 JSBK 阅读(1846) 评论(0) 推荐(0) 编辑
摘要: json 与对象的互相转换 以下为整理内容 1 前台 2 后台 第一种:json-lib 包 https://www.cnblogs.com/zhangminghui/p/4107735.html 2 阿里巴巴的fastjson https://www.cnblogs.com/LiuChunfu/p 阅读全文
posted @ 2018-12-02 16:58 JSBK 阅读(3069) 评论(0) 推荐(0) 编辑
摘要: idea在maina方法运行出现错误: Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest Error: A JNI error has occurred, please check y 阅读全文
posted @ 2018-12-02 15:42 JSBK 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: shiro 权限引用时用以前的代码框架 发现忘记加密后的密码: 解决:下面基于配置文件,将新的密码密文替换以前的即可 阅读全文
posted @ 2018-12-02 15:32 JSBK 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: idea 中 Caused by: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener 项目启动出现未知错误: 代码未错,即为idea配置问题: 解決 在IDEA中点击F 阅读全文
posted @ 2018-12-02 15:29 JSBK 阅读(2044) 评论(0) 推荐(1) 编辑
摘要: 版本:jdk1.8 java.util.Date 的API 方法: java.util.Date.compareTo(Date anotherDate) 方法源码: 阅读全文
posted @ 2018-11-22 10:14 JSBK 阅读(2074) 评论(0) 推荐(0) 编辑
摘要: oracle中数据类型对应java类型 转载地址:https://www.cnblogs.com/softidea/p/7101091.html 地址: http://otndnld.Oracle.co.jp/document/products/oracle10g/102/doc_cd/Java.1 阅读全文
posted @ 2018-11-22 09:14 JSBK 阅读(5202) 评论(0) 推荐(1) 编辑