自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (4)
  • 收藏
  • 关注

原创 Erlang crash_dump文件查看

进入erlang控制台erl -smp执行命令>crashdump_viewer:start().ps:注意别忘了末尾的.执行完之后会打开Crashdump Viewer, 其相关使用方法看这里

2016-11-11 13:35:12 6201

翻译 Synchronized vs Concurrent Collections(并发集合VS同步集合)

Synchronized vs Concurrent Collections不管是同步集合还是并发集合他们都支持线程安全,他们之间主要的区别体现在性能和可扩展性,还有他们如何实现的线程安全。同步HashMap, Hashtable, HashSet, Vector, ArrayList 相比他们并发的实现(比如:ConcurrentHashMap, CopyOnWriteArrayList, Cop

2016-11-10 17:30:52 4211

原创 rabbitmq 实现延迟队列的两种方式

转载请注明出处ps: 文章里面延迟队列=延时队列什么是延迟队列延迟队列存储的对象肯定是对应的延时消息,所谓”延时消息”是指当消息被发送以后,并不想让消费者立即拿到消息,而是等待指定时间后,消费者才拿到这个消息进行消费。场景一:在订单系统中,一个用户下单之后通常有30分钟的时间进行支付,如果30分钟之内没有支付成功,那么这个订单将进行一场处理。这是就可以使用延时队列将订单信

2016-11-04 16:55:36 75185 27

原创 TIME_WAIT 导致 Address already in use : connect 异常的解决办法

Address already in use : connect 异常的解决办法在使用java作为http客户端进行压力测试的时候,尤其是在多线程环境下当客户端连续创建连接一段时间后极容易出现端口占用的异常情况:Address already in use : connect ......netstat -aux 查看会有一大堆状态为 TIME_WAIT 的连接问题原因: Java的 Socket

2016-11-04 13:57:16 4835

原创 BeanNotOfRequiredTypeException: Bean named "" must be of type [] but was actually of type [com.sun.p

org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'applicationService' must be of type [com.meta.dbcenter.application.service.impl.ApplicationServiceImpl], but was actually

2016-11-04 13:30:23 5222

转载 解决: org.springframework.beans.factory.BeanNotOfRequiredTypeException

错误信息:    org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'aisleService' must be of type [com.gdie.whlocation.service.impl.AisleService], but was actually of type [$P

2016-11-04 13:27:25 31767 5

原创 MYSQL: Cannot delete or update a parent row: a foreign key constraint fails

MYSQL: Cannot delete or update a parent row: a foreign key constraint fails 这可能是MySQL在InnoDB中设置了foreign key关联,造成无法更新或删除数据。可以通过设置FOREIGN_KEY_CHECKS变量来避免这种情况。 SET FOREIGN_KEY_CHECKS = 0;

2016-11-04 13:26:09 760

原创 sessionfactory.getcurrentsession()获取不到session

1,如果使用hibernate配置      在hibernate.cfg.xml里配置     thread     如果使用的是getCurrentSession()的话,需要配置,否则是空指针。     使用openSession()不需要配置2,如果使用Spring注入     检查sessionFactory配置是否正确     如果sessionFa

2016-11-04 13:25:02 5516

原创 object references an unsaved transient instance

报错:object references an unsaved transient instance - save the transient instance before flushing: com.it.shop.model.Publishers解决:设置ManyToOne,OneToMany两边的Cascade策略一致@ManyToOne(fetch = FetchTy

2016-11-04 13:23:58 543

原创 @ManyToOne references an unknown entity:

报错:@OneToOne or @ManyToOne on com.it.shop.model.Product.category references an unknown entity: com.it.shop.model.Category1.检查hibernate.cfg.xml中是否做了mappingmappingclass="com.it.shop.

2016-11-04 13:20:55 7295

Swing 线程之SwingUtilities invokeLater docx

Swing 线程之SwingUtilities invokeLater docx

2014-05-10

MyEclipse 中各种 libraries 的含义

MyEclipse 中各种 libraries 的含义,来自IT之家

2014-05-10

mysql-connector-java-3.1.12-bin.jar

数据库驱动jar包, mysql-connector-java-3.1.12-bin.jar

2014-03-30

JS资料-dom中文参考手册

java script资料-dom中文参考手册

2014-03-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除