windows 查询端口占用 杀掉进程
摘要:参考 https://www.cnblogs.com/lynn-li/p/6077993.html netstat -ano | findstr "8001" taskkill /PID 8001 /f
阅读全文
tomcat端口被占用 实际上却查询不到此端口
摘要:参考 http://www.cnblogs.com/jieliujas/p/9413064.html 1.打开PCHunter,在进程选项卡下面可以找到无法结束的进程,右键--强制结束,失败(这儿效果跟任务管理器下的结束时一样的) 2.这时候 右键--查看进程线程 ,然后将所有的线程给杀光光,再出来
阅读全文
sqlserver 死锁相关
摘要:参考 https://www.cnblogs.com/fuyuanming/p/5783421.html
阅读全文
sqlserver 查看当前连接数
摘要:参考 https://www.cnblogs.com/lumnm/archive/2009/08/29/1556349.html SELECT * FROM[Master].[dbo].[SYSPROCESSES] WHERE [DBID] IN ( SELECT [DBID]FROM [Maste
阅读全文
The hyperlink for cell A2 references relation rId1, but that didn't exist!
摘要:excel单元格中存在超链接,去掉 可以参考 https://www.cnblogs.com/songyunxinQQ529616136/p/6599523.html
阅读全文
getRequestURI getRequestURL 区别
摘要:参考 https://blog.csdn.net/gavid0124/article/details/45390999/ request.getRequestURL() 返回全路径 request.getRequestURI() 返回除去host(域名或者ip)部分的路径 request.getCo
阅读全文
angularjs $injector:nomod
摘要:参考 http://blog.163.com/gis_warrior/blog/static/19361717320153111134135/ 检查是否有[],或者是否多次定义同一个module 标准定义 angular.module('1yd.config',[]) 加上[]表示定义,没有[]表示
阅读全文
jxls2 java.lang.NegativeArraySizeException
摘要:某个单元格使用jx:each报这个错误。 内部代码,创建一个二维数组时,传了一个负值进去 解决办法 将这个单元格删除,重新编写批注
阅读全文
oracle 分页
摘要:select a1.* (select a.*, rownum rn from (select * from table1 where field1 = ? order by field2) a where rownum > ???) a1 where a1.rn <= ???
阅读全文
springboot1 缓存前端
摘要:@Configurationpublic class WebMvcConfig extends WebMvcConfigurerAdapter { public void addResourceHandlers(ResourceHandlerRegistry registry) { registry
阅读全文
JPA in
摘要:CriteriaBuilder.In in = criteriaBuilder.in(root.get("field1")); for (String str : arr) { in.value(str);}
阅读全文
无效的列类型
摘要:jdbcTemplate 的第三个参数一定要是int[]数组,而不能是Object[]数组
阅读全文
jdbctemplate 批量插入
摘要:public void batchImport(List> list) { String sql = "insert into table1(field1, field2) values(?,?)"; int[] types = new int[2]; types[0] = Types.VARCHAR; types[1] = Types.NUMER...
阅读全文
linux 查看端口占用
摘要:参考 https://www.cnblogs.com/wangtao1993/p/6144183.html
阅读全文
oracle 存储过程模板
摘要:CREATE OR REPLACEPROCEDURE PROCE_NAME(V_IN varchar2, V_OUT out varchar2) ASBEGIN --... commit; V_OUT := 'aaa';exception when others then V_OUT := '999
阅读全文
VM虚拟机的配置文件(.vmx)损坏
摘要:为了禁用时间同步,使用sublime修改vmx文件 文件第一行为.encoding = "GBK" 修改完毕,无法打开虚拟机,报 VM虚拟机的配置文件(.vmx)损坏错误 因为sublime会将文件的编码变为utf-8 所以将第一行改为.encoding = "UTF-8",解决问题
阅读全文
vmware 完全关闭时间同步
摘要:参考 http://blog.51cto.com/hezhang/1535577 修改.vmx文件 tools.syncTime = "FALSE" time.synchronize.continue = "FALSE" time.synchronize.restore = "FALSE" time
阅读全文