- 博客(8)
- 收藏
- 关注
原创 使用JSONObject转换json数据报错:There is a cycle in the hierarchy!的解决办法
在使用JSONObject 转换json数据的时候 出现了 There is a cycle in the hierarchy!的错误。 JsonConfig jsonConfig=new JsonConfig(); //设置自动排除circle。 jsonConfig.setCycleDetectionStrategy(CycleDetectionStrategy.LENIENT); j
2014-03-15 19:31:56
877
原创 Myeclipse 启动默认进入某个工程(Go InTo)的解决办法
问题: 每次启动Myeclipse都会进入弄个工程,需要点击Up to workspace 才可以查看其他工程 解决办法: 点击Window 下的Close All Perspectives 会看到一下视图。点击 Open Perspectives 选择 MyEclipse Java Enterprise(default) 即可恢复
2014-03-14 19:59:12
2524
原创 optiontransferselect标签 返回数据到action
案例功能: 要求从数据库查询出所有试题,手动选择要添加的试题。并且要求试题的顺序可自行改变 order.jsp页面 试题 <s:optiontransferselect label="排序试题" labelposition="top" name="questionsId" doubleName="orderQuesti
2014-03-08 22:10:04
839
原创 javax.persistence.Table.indexes()[Ljavax/persistence/Index;
在Hibernate 4.3中如果使用了@Table注解,在获取session的时候会抛出如下异常 Exception in thread "main" java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index; at org.hibernate.cfg.annotations
2014-03-07 22:54:00
11786
原创 Hibernate 4.3获取session的方法
Hibernate 4.3获取session的方法 package util; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.hibernate
2014-03-07 17:00:57
2782
原创 Myeclipse2013 修改Servlet模板的方法
打开Myeclipse安装目录,找到plugins文件夹下的 com.genuitec.eclipse.wizards_11.0.0.me201303311935.jar文件 用压缩文件打开后,找到templates文件夹中的Servlet.java 编辑Servlet.java文件,删除你不需要的代码及注释。然后保存即可。 注意: 打开文件前,请关闭Myec
2014-02-10 14:06:08
639
原创 Android虚拟机提示The connection to adb is down, and a severe error has occured
问题描述: 当我们向android虚拟机发布程序的时候出现如下错误: [2013-11-03 00:31:13 - MySony]------------------------------ [2013-11-03 00:31:13 - MySony]Android Launch! [2013-11-03 00:31:13 - MySony] Theconnection to ad
2013-11-03 22:07:28
861
原创 Myeclipse配色方案的修改
首先呢,我们打开下边的网址: http://eclipsecolorthemes.org/ 会看到如下的界面。 点击ALL会看到更多的配色方案, 首先呢,我们打开下边的网址: http://eclipsecolorthemes.org/ 会看到如下的界面。 点击ALL会看到更多的配色方案, 找到自己喜欢的一个配色方案,点击进入,会看到如下面页。然后点E
2013-09-12 18:00:47
1647
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅