- 博客(7)
- 资源 (4)
- 收藏
- 关注
原创 并发学习第一弹
并发:并行的执行程序的多个部分。并发能解决的问题大体上可以分为“速度”(并发通常是提高运行在单处理器上的程序的性能)和“设计可管理性”两种。并发编程使我们可以将程序划分为多个分离的独立运行的任务。
2015-05-29 15:14:49
461
原创 Unable to locate appropriate constructor on class报错原因以及解决方案
再使用HQL语句通过封装查询时,会添加一个虚拟的实体类 例如select new com.musicworld.vo.ComUserSong(c.commentId,c.commentTime,c.content,c.userinfo.userName) from Comment c 这种封装需要实体类提供对应构造器构造方法public ComUserSong(In
2015-04-17 17:13:19
1688
原创 org.hibernate.HibernateException: No CurrentSessionContext configured!
org.hibernate.HibernateException: No CurrentSessionContext configured!错误解决方案:在集成Hibernate的环境下(例如Jboss),要在hibernate.cfg.xml中session-factory段加入:jta 在不集成Hibernate的环境下(例如使用JDBC的独立应用程序),在hibern
2015-04-14 17:52:07
491
原创 The content of element type "session-factory" must match "(property*,mapping*,(class-cache| collect
配置hibernate.cfg.xml时提示The content of element type "session-factory" must match "(property*,mapping*,(class-cache| collection-cache)*,event*,listener*)".的错。 提示先配置property*元素,再配置mapping*元素,依次类推,仔细检
2015-03-13 16:30:35
5271
1
原创 在myeclipse中启动tomcat的时候会自动跳转到DualStackPlainSocketImpl的debug页面
在myeclipse中启动tomcat的时候会自动跳转到DualStackPlainSocketImpl的debug页面暂时只发现了两种解决方法:1,window->preference->run/debug->perspectives->open the associated perspective when launching 然后选never,要是你的设置本来就是这样或者这样
2014-12-13 09:32:22
1688
原创 Dispatcher initialization failed Unable to load configuration. - [unknown location]
用Struts2 写东西时,刚开始就报这个错 Dispatcher initialization failed Unable to load configuration. - [unknown location]试了网上的很多方法 最后引入struts2-spring-plugin-2.1.8.jar就都解决了。
2014-12-13 00:05:49
773
汉语信息熵和语言模型的复杂度.pdf
2016-08-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人