digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 37 下一页

2016年4月12日

摘要: 使用 proxy-target-class="true" 强制配置了 cglib 代理,于是包上面的错误,加入了 asm.jar 报也一样报错。 错误原因是,lib 中有两个cglib的jar包: cglib-nodep-2.2.jar 和 cglib-2.2.jar,删除 后面的就行了。 阅读全文
posted @ 2016-04-12 13:25 digdeep 阅读(372) 评论(0) 推荐(0)

2016年4月9日

摘要: 1. 在 META-INF 下建立文件: context.xml 然后 在 hibernate就可以引用: 这样就可以 根据 jndi 找到 context.xml 中配置的 数据库连接信息。其实起到了一个 间接 的 隔离 的效果。 2. 在Tomcat的server.xml 文件中 <Host> 阅读全文
posted @ 2016-04-09 11:12 digdeep 阅读(14905) 评论(0) 推荐(0)

摘要: 1. restore database KLJY_juncsoft from disk= 'D:\\kljy_2012_12_28.bak' with recovery 注意在还原时,进度一直显示0%,但是实际上确实是在还原中的。有点让人以为还原运行不正常的。 2. 无法删除数据库 "juncsof 阅读全文
posted @ 2016-04-09 00:32 digdeep 阅读(396) 评论(0) 推荐(0)

2016年4月8日

摘要: 解决方法: http://stackoverflow.com/questions/860187/access-restriction-on-class-due-to-restriction-on-required-library-rt-jar This works because you have 阅读全文
posted @ 2016-04-08 09:13 digdeep 阅读(301) 评论(0) 推荐(0)

2016年3月31日

摘要: 自己项目中使用到了 结果在不同的windows 操作系统中,程序的运行不一致,在windows server 2008上可以很好的运行,但是到了windows7上去卡死了!!!!!!!!!!!!!!!!!!!!!! p.waitFor() 卡死了或者报错: 如果改为: 则直接卡死了。如果将 p.wa 阅读全文
posted @ 2016-03-31 23:31 digdeep 阅读(1102) 评论(0) 推荐(1)

2016年3月25日

摘要: Tomcat启动报错: 25-Mar-2016 10:40:43.478 SEVERE [main] org.apache.catalina.startup.Catalina.stopServer Could not contact localhost:8015. Tomcat may not be 阅读全文
posted @ 2016-03-25 15:53 digdeep 阅读(4923) 评论(0) 推荐(0)

2016年3月24日

摘要: 最近因为一个监控相关的项目,深入研究了一下 windows 的 远程桌面的相关知识。 1. 如何让关闭了远程桌面连接的用户,对应的 session 立即退出 windows server。 大家使用 mstsc.exe 远程桌面登录windows server时,退出时,99.99%的人会直接关闭 阅读全文
posted @ 2016-03-24 18:37 digdeep 阅读(1532) 评论(0) 推荐(0)

2016年3月23日

摘要: 使用 JNA 调用 dll 库,因为 dll 库是32 位的,而 jvm 是 64位的,所以发生的错误: java.lang.UnsatisfiedLinkError: Unable to load library 'xxx': Native library (win32-x86-64/ID_Fpr 阅读全文
posted @ 2016-03-23 22:49 digdeep 阅读(14105) 评论(0) 推荐(0)

2016年3月19日

摘要: 1. 错误1:打 jar 包执行,报错,找不到 类库的 jar 包 F:\>java -jar remoteLogin.jarException in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/alibaba/fast 阅读全文
posted @ 2016-03-19 11:42 digdeep 阅读(3627) 评论(0) 推荐(0)

2016年3月17日

摘要: JNA 的出现,极大的简化了原有的 JNI 技术。下面是JNA github地址:https://github.com/java-native-access/jna 1. 简单的一个例子: 原理是,通过 CLibrary extends Libarary 在其中加载系统的 DLL/so 库,并列出J 阅读全文
posted @ 2016-03-17 17:16 digdeep 阅读(8721) 评论(1) 推荐(0)

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 37 下一页
不懂数据库和Web安全的架构师不是一个好的程序员。