摘要:
1:账号或密码错误 com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see 阅读全文
摘要:
最近开始使用为windows的系统,进行git操作的时候出现了一个小问题。 使用命令: E:\IdeaProjects\mmall>git commit -am 'first commit init project' 异常: fatal: Paths with -a does not make se 阅读全文
摘要:
MySQL里面的锁可以分为:全局锁,表级锁,行级锁。 一、全局锁:对整个数据库实例加锁。MySQL提供加全局读锁的方法:Flush tables with read lock(FTWRL)这个命令可以使整个库处于只读状态。使用该命令之后,数据更新语句、数据定义语句和更新类事务的提交语句等操作都会被阻 阅读全文
摘要:
重启了Explorer.exe即可。这里也补充下简单的重启Explorer.exe的方法:打开任务管理器,找到“Windows资源管理器”,右键--重新启动。 或者,右键--结束任务,然后点击 文件--运行新任务,在弹出框中输入Explorer.exe点击确定。 阅读全文
摘要:
一、更改my.cnf配置文件 0、MySQL 版本查看 mysql --version 1、用命令编辑/etc/my.cnf配置文件,即:vim /etc/my.cnf 或者 vi /etc/my.cnf 或者 nano /etc/my.cnf 2.在[mysqld]下添加skip-grant-ta 阅读全文
摘要:
private void quartzOrderReturn(List returnIds) { try { Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler(); JobDataMap jobDataMap = new JobDataMap(); ... 阅读全文
摘要:
解决方案: 开发过程中如果想缓存某个JavaBean,请确保它所引用的对象都implents Serializable,如果某个对象不需要被cache,可以加上transient关键字,否则Ehcache每次都通过引用查找的方法去保存所有实例数据到磁盘.最终会失败 阅读全文
摘要:
package com.bing.util; import com.bing.constant.ResultModel; import com.bing.model.Company; import com.google.common.collect.Lists; import net.sf.json.JSONObject; import org.apache.http.HttpEntity;... 阅读全文
摘要:
public String load(String url, String query) throws Exception { URL restURL = new URL(url); /* * 此处的urlConnection对象实际上是根据URL的请求协议(此处是http)生成的URLConnection类 的子类HttpURLConnecti... 阅读全文
摘要:
select case when tca.id = '3' then 'vw' else epc_code end as epccode,tfp.product_id, tfp.vender, tfp.spec_id, tfp.product_classify, tfp.supplier_id, tfp.classify, tfp.category, tfp.texture, ... 阅读全文