上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 问题描述: 用VMware vSphere Client复制虚拟机之后,出现这个问题 解决方法: service network stop service NetworkManager restart 阅读全文
posted @ 2018-09-11 10:40 萧韶九成 阅读(2060) 评论(0) 推荐(0)
摘要: 常见报错语句 Command not found; - 找不到命令(敲入的命令有误或者该命令还没安装) No Such file or directory; - 找不到输入的文件或者目录 阅读全文
posted @ 2018-09-11 10:40 萧韶九成 阅读(210) 评论(0) 推荐(0)
摘要: 解决方案: 删除虚拟机上不必要的东西 重启开虚拟机的电脑 阅读全文
posted @ 2018-09-11 10:39 萧韶九成 阅读(2244) 评论(0) 推荐(0)
摘要: 轻快的颜色 阅读全文
posted @ 2018-09-10 10:42 萧韶九成 阅读(135) 评论(0) 推荐(0)
摘要: 问题描述 用Oracle VM VirtualBox创建虚拟机后,本机电脑ping不通虚拟机 解决方案 https://www.cnblogs.com/ranrongzhen/p/6958485.html 阅读全文
posted @ 2018-09-07 16:57 萧韶九成 阅读(2621) 评论(0) 推荐(0)
摘要: 问题描述Oracle VM VirtualBox引入OVF模板时,报错:VT-x/AMD-V 硬件加速已被启用, 但当前处于无效状态. 您虚拟电脑内的操作系统将无法检测到64位的处理器,因此也将无法启动. 请确认在您电脑的BIOS中已启用 VT-x/AMD-V 支持 解决方案 网上给出的思路:进入B 阅读全文
posted @ 2018-09-07 16:56 萧韶九成 阅读(6074) 评论(0) 推荐(0)
摘要: 毫秒值 -> 时间 var date = new Date(1477386005*1000); 阅读全文
posted @ 2018-09-06 16:30 萧韶九成 阅读(148) 评论(0) 推荐(0)
摘要: this.timer = setInterval(dojo.hitch(this, function(){ this.initData(); }), 3000); if(this.timer){ clearInterval(this.timer); this.timer = null; } 阅读全文
posted @ 2018-09-06 16:29 萧韶九成 阅读(143) 评论(0) 推荐(0)
摘要: dojosetTimeout(dojo.hitch(this, function(){ this.onClickCount(); }), 3000); 普通应用在js中,延迟执行函数有两种,setTimeout和setInterval,用法如下: function testFunction(){Co 阅读全文
posted @ 2018-09-06 16:27 萧韶九成 阅读(9661) 评论(1) 推荐(1)
摘要: 问题描述 java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based! 红色部分报错 for (int i = 0; i < listParam.size(); i++) { query.setP 阅读全文
posted @ 2018-09-06 13:56 萧韶九成 阅读(341) 评论(0) 推荐(0)
摘要: b=a是将b的地址值指向a,而b原先的对象会被垃圾回收 集合之间的复制方法 方式一: ArrayList B = new ArrayList<> (A); 方式二: ArrayList B = A.clone(); 方式三: ArrayList B = new ArrayList<String>() 阅读全文
posted @ 2018-09-06 13:29 萧韶九成 阅读(292) 评论(0) 推荐(0)
摘要: Integer currentPage = voIn.getCurrentPage(); if (currentPage == null) { currentPage = 1; } Integer pageSize = voIn.getPageSize(); if (pageSize == null 阅读全文
posted @ 2018-09-06 11:01 萧韶九成 阅读(472) 评论(0) 推荐(0)
摘要: 意思是说此方法已过时,过时的原因就是有新的API的类替代了次方法。 这个被划去的方法仍然是可以正常使用的,就是一个提示而已。 Java内在的File类中有如下方法 @Deprecated public URL toURL() throws MalformedURLException { return 阅读全文
posted @ 2018-09-05 15:41 萧韶九成 阅读(1046) 评论(0) 推荐(1)
摘要: conn.setAutoCommit(false);设置事物手动提交 参数: autoCommit --》为 true表示启用自动提交模式;为 false表示禁用该模式 默认的话为自动提交,每当执行一个update ,delete或者insert的时候都会自动提交到数据库,无法回滚事务。 使用举例( 阅读全文
posted @ 2018-09-05 15:39 萧韶九成 阅读(143) 评论(0) 推荐(0)
摘要: 解决方案一: 参考代码 http://10.100.0.8/Basis/rest/menu/getMenuAuthTree?userId=admin 思路简述:查询出所有节点,判断其是否有父节点(父ID是否为空),如果有父节点,将数据添加到对应的父节点下方 解决方案二: 参考代码:menu/getM 阅读全文
posted @ 2018-09-05 15:39 萧韶九成 阅读(443) 评论(0) 推荐(0)
摘要: 在类中: import org.springframework.jdbc.core.JdbcTemplate; public JdbcTemplate jdbcTemplate; public void setJdbcTemplate(JdbcTemplate jdbcTemplate) { thi 阅读全文
posted @ 2018-09-05 15:38 萧韶九成 阅读(396) 评论(0) 推荐(0)
摘要: String video[] = {"mp4", "avi", "mov", "wmv", "asf", "navi", "3gp", "mkv", "f4v", "rmvb", "webm"};//视频的基本类型 String img[] = {"bmp", "jpg", "jpeg", "png 阅读全文
posted @ 2018-09-05 15:36 萧韶九成 阅读(308) 评论(0) 推荐(0)
摘要: URL url = null; String inputLine = null; HttpURLConnection httpurlconnection = null; try { //取上级电警平台的url url = new URL(ConfigManager.getInstance().get 阅读全文
posted @ 2018-09-05 15:34 萧韶九成 阅读(357) 评论(0) 推荐(0)
摘要: /** * * 方法说明:移植执行linux命令 * * @param cmdStr 需要执行的linux命令 * @return 执行命令后的输出(如果是启动一个进程,则可能一直无法返回) * @throws IOException * @作者及日期:liuhengheng 2014-4-8 * 阅读全文
posted @ 2018-09-05 15:34 萧韶九成 阅读(474) 评论(0) 推荐(0)
摘要: log import org.slf4j.Logger; import org.slf4j.LoggerFactory; private static final Logger log = LoggerFactory.getLogger(CLS_BO_OBJ.class); 阅读全文
posted @ 2018-09-05 15:33 萧韶九成 阅读(102) 评论(0) 推荐(0)
摘要: TD - 取配置文件的值 封装好的类:ConfigManager private static final String LOCALFJM = ConfigManager.getInstance().getConfigItem("nativeCourtCode", ""); 阅读全文
posted @ 2018-09-05 15:33 萧韶九成 阅读(110) 评论(0) 推荐(0)
摘要: 退出for循环 break用于完全结束一个循环,跳出循环体执行循环后面的语句 可以理解为continue是跳过当次循环中剩下的语句,执行下一次循环 while while( 布尔表达式 ) { //循环内容 } 只要布尔表达式为 true,循环体会一直执行下去。 do - while do { // 阅读全文
posted @ 2018-09-05 15:29 萧韶九成 阅读(235) 评论(0) 推荐(0)
摘要: /** * 方法说明:这个方法是干什么的 * * @param 方法参数的说明 * @return 对方法返回值的说明 * @throws 方法抛出异常的说明 * @version 模块的版本号 * @author 作者 * @see 参考方向 * @deprecated 标记是否过时 */ /** 阅读全文
posted @ 2018-09-05 15:27 萧韶九成 阅读(357) 评论(0) 推荐(0)
摘要: /** * * * 方法说明: 递归创建文件夹 * * @param file 文件 * @作者及日期:liurui04274 2017-12-15 * @修改人及日期: * @修改描述: * @其他: */ public static void mkDir(File file) { if (fil 阅读全文
posted @ 2018-09-05 15:26 萧韶九成 阅读(227) 评论(0) 推荐(0)
摘要: 显示效果 Font mf = new Font(String 字体,int 风格,int 字号);字体:TimesRoman, Courier, Arial等风格:三个常量 lFont.PLAIN, Font.BOLD, Font.ITALIC字号:字的大小(磅数)设置组件当前使用的字体:setFo 阅读全文
posted @ 2018-09-05 15:25 萧韶九成 阅读(2806) 评论(0) 推荐(0)
摘要: 合成两张大小一样的图片 //读取第一张图片 File fileOne = new File(startPath); BufferedImage ImageOne = ImageIO.read(fileOne); int width = ImageOne.getWidth();//图片宽度 int h 阅读全文
posted @ 2018-09-05 15:25 萧韶九成 阅读(172) 评论(0) 推荐(0)
摘要: import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * @author Gerrard */ public class TestGetWeek { public static 阅读全文
posted @ 2018-09-05 15:24 萧韶九成 阅读(495) 评论(0) 推荐(0)
摘要: java转换编码格式 String s2 = new String(s1.getBytes("ISO-8859-1"),"GBK"); String b1 = new String(str.getBytes("iso-8859-1","utf-8")); 阅读全文
posted @ 2018-09-05 15:22 萧韶九成 阅读(98) 评论(0) 推荐(0)
摘要: linux乱码 可能是因为jre中没有这种字体 从文件夹中考取 C:\Windows\ 然后将考出来的文件放入/jdk/jre/lib/fonts 阅读全文
posted @ 2018-09-05 15:22 萧韶九成 阅读(121) 评论(0) 推荐(0)
摘要: 问题描述 org.apache.jasper.JasperException: Unable to compile class for JSP 问题原因 tomcat6不支持jdk1.8版本 阅读全文
posted @ 2018-09-05 11:19 萧韶九成 阅读(946) 评论(0) 推荐(0)
摘要: 查看公网IPcurl members.3322.org/dyndns/getip 阅读全文
posted @ 2018-08-31 11:59 萧韶九成 阅读(296) 评论(0) 推荐(0)
摘要: 方法1 curl -l http://www.baidu.com 方法2 wget http://www.baidu.com 阅读全文
posted @ 2018-08-31 11:58 萧韶九成 阅读(19707) 评论(0) 推荐(0)
摘要: 问题描述: 弹出界面eth0: 错误:没有找到合适的设备:没有找到可用于链接System eth0 的设备 解决方案: 排错步骤如下: 1:查看系统是否识别相应网卡(发现没有eth0网卡存在): 根据显示信息我们可以初步判定系统网卡信息有问题: 2:查看当前MAC地址相关信息: 发现多出一块eth1 阅读全文
posted @ 2018-08-29 17:36 萧韶九成 阅读(1610) 评论(0) 推荐(0)
摘要: 安装orcal http://www.cnblogs.com/nucdy/p/5603998.html 搭建Linux操作系统+Oracle数据库的环境 https://blog.csdn.net/pan_tian/article/details/39523607 阅读全文
posted @ 2018-08-29 17:35 萧韶九成 阅读(165) 评论(0) 推荐(0)
摘要: 修改/etc/sysconfig/network文件并重启 阅读全文
posted @ 2018-08-29 17:32 萧韶九成 阅读(207) 评论(0) 推荐(0)
摘要: 注释掉红框里的内容 阅读全文
posted @ 2018-08-29 17:31 萧韶九成 阅读(254) 评论(0) 推荐(0)
摘要: 1、mysql和orcal数据中的数据类型不一致,比如:mysql中没有类型varchar2、number 2、mysql环境中的命令后面都带一个分号作为命令结束符 - “;” 阅读全文
posted @ 2018-08-29 17:29 萧韶九成 阅读(148) 评论(0) 推荐(0)
摘要: 查看时间 date 修改时间 date -s '2018-08-01 00:01:02' 阅读全文
posted @ 2018-08-29 17:27 萧韶九成 阅读(83) 评论(0) 推荐(0)
摘要: 手动启动 ifup eth0 查询网卡配置信息 vim /etc/udev/rules.d/70-persistent-net.rules 备注:可以修改网卡名称和MAC地址 阅读全文
posted @ 2018-08-29 17:27 萧韶九成 阅读(104) 评论(0) 推荐(0)
摘要: 查看MAC地址 ifconfig -a(HWaddr的值) 查看计算机名称 hostname 阅读全文
posted @ 2018-08-29 17:26 萧韶九成 阅读(146) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 下一页