小狼最近在玩懒加载,出现这个问题
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165)
...
分类:
Web程序 时间:
2015-03-30 16:38:41
阅读次数:
195
升级android-studio之后,出现这个问题,一直解决不了。无意间,在布局文件的Design界面中,修改原来的AppTheme为Base.Theme.AppCompat就修复了此问题。暂时不知道是什么缘故,不过希望能够帮到那些遇到这个问题的人。
分类:
移动开发 时间:
2015-03-30 16:18:20
阅读次数:
197
在eclipse中使用Tomcat8.0时出现了CouldnotpublishserverconfigurationforTomcatv8.0Serveratlocalhost.MultipleContextshaveapathof""错误.网上有两种解决方法,如下如果是使用的eclipsetomcat插件,需要在你的工作空间找到如下文件:${WoskSpace}/.metadata\.plugins\org.ecli..
分类:
系统相关 时间:
2015-03-30 06:58:29
阅读次数:
274
出现这种情况大多是因为电脑上之前安装过JDK,卸载重装之后,运行java命令会出现error:could not open ...jvm.cfg的错误。打开系统环境变量,查看PATH,会看到诸如此类的配置信息:%SystemRoot%\system32;%SystemRoot%;......%JAV...
分类:
其他好文 时间:
2015-03-28 18:42:00
阅读次数:
144
在stackoverflow 上面找到一篇介绍 使用了hibernate.enable_lazy_load_no_trans的处理,配置后解决了错误:com.alexgaoyhnone${hibernate.dialect}${hibernate.show_sql}true${hibernate.h...
分类:
Web程序 时间:
2015-03-28 18:35:27
阅读次数:
145
如题:开始在dalvikm中报错Could not find class ‘android.graphics.SurfaceTexture’在AndroidRuntime中报错:java.lang.NoClassDefFoundError:android.graphics.SurfaceTextur...
分类:
移动开发 时间:
2015-03-28 11:23:56
阅读次数:
287
一、ORA-12518: TNS:listener could not hand off client connection在团队成员增多时,常常出现“无法分发client连接”等问题。在网上搜索一番后,终于攻克了该问题,现将解决方式总结例如以下,以供參考和以后备用。更改SPFILEORCL.ORA...
分类:
其他好文 时间:
2015-03-28 10:04:50
阅读次数:
150
出现这种情况大多是因为电脑上之前安装过JDK,卸载重装之后,运行java命令会出现error:could not open...jvm.cfg的错误。
打开系统环境变量,查看PATH,会看到诸如此类的配置信息:
%SystemRoot%\system32;%SystemRoot%;......%JAVA_HOME%\lib;%JAVA_HOME%\bin
原因:在...
分类:
其他好文 时间:
2015-03-21 21:22:43
阅读次数:
151
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:
其他好文 时间:
2015-03-21 16:45:27
阅读次数:
114
【题目】
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n)
space is pretty straight forward. Could...
分类:
其他好文 时间:
2015-03-21 12:42:54
阅读次数:
129