- 博客(32)
- 资源 (1)
- 收藏
- 关注
原创 我们都会有这样的经历,当觉得别人写的某个功能不错时,把demo移植到自己的工程中,其中的某些点9点png图片会报如下的错误
Frame pixels must be either solid or transparent (not intermediate alphas). Found at pixel #3 along top edge
2017-01-19 17:09:36
414
原创 使用迭代器遍历集合时,当集合中的数据发生变化是会抛出java.util.ConcurrentModificationException异常
使用迭代器遍历集合时,当集合中的数据发生变化是会抛出java.util.ConcurrentModificationException异常
2017-01-14 15:59:33
1374
原创 ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails
Mysql数据库中删除表时报:ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails
2017-01-11 15:21:41
663
原创 ache.ibatis.binding.BindingException: Type interface dynamicDao.dao.UserDao is not known to the Mapp
ache.ibatis.binding.BindingException: Type interface dynamicDao.dao.UserDao is not known to the MapperRegistry. at org.apache.ibatis.binding.MapperRegistry.getMapper(MapperRegistry.java:42)
2016-12-29 17:33:35
1390
原创 Struts2、Spring、Mbatis中输出日志log4j.properties文件的配置
Spring,mybatis,Struts2输出日志log4j.properties文件配置
2016-12-29 09:32:36
1072
原创 Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
2016-12-26 15:21:01
2361
原创 Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotF
Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotF
2016-12-26 14:40:00
4532
原创 Myeclipse中安装mybatis generator插件有两种方式,一种是在线安装,一种是离线安装。
Myeclipse中安装mybatis generator插件两种方式
2016-12-24 14:23:46
11956
原创 在搭建Spring框架时总报og4j:WARN No appenders could be found for logger log4j:WARN Please initialize the log4
og4j:WARN No appenders could be found for logger log4j:WARN Please initialize the log4
2016-12-23 15:31:32
499
原创 Invalid property name 'Hello' - not JavaBean compliant - <property> element for property 'Hello' mu
Invalid property name 'Hello' - not JavaBean compliant - <property> element for property 'Hello' must specify a ref
2016-12-23 15:22:27
2682
原创 Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
2016-12-14 10:58:13
509
原创 设置Activity全屏的几种方式
设置某一个Activity全屏的方式有两种,一种是在代码中设置, 第二种方式是在清单文件Menifest中设置
2016-12-06 10:57:16
542
原创 一般情况下ListView中的 item点击事件和 item 中的Button按钮点击事件 同时需要时,就会出现Button抢占了item的焦距问题,导致ListView中的item点击事件无效,解决
一般情况下ListView中的 item点击事件和 item 中的Button按钮点击事件 同时需要时,就会出现Button抢占了item的焦距问题,导致ListView中的item点击事件无效,解决
2016-11-30 10:55:30
517
原创 ListView集合中设置标记 setTag();方法带一个参数和两个参数的区别,以及设置标记时ViewHolder中的每一个属性控件都需要设置一次,否则在Item中每一个控件的点击事件中取出设置的标
ListView集合中设置标记 setTag();方法带一个参数和两个参数的区别;以及设置标记时ViewHolder中的每一个属性控件都需要设置一次,否则在Item每一个控件的点击事件中取出设置的标标记时会报空指针异常。
2016-11-30 08:30:10
2214
原创 在自定义控件的过程中犯下的错,在调用有三个参数的构造方法时this(context,null,0);第二个参数为空,在Activity中 findViewById找到对应的控件时
自定义控件,在Activity中findViewById找到后老报空指针问题总结
2016-11-29 14:17:21
1782
原创 EditText文本框来回抖动的实现
在开发一些应用的时候,当用户在某些功能的文本框中没有输入相关德 信息时,为了给出提示使文本框抖动一下,提示用户需要输入相关信息。提高用户体验。 具体的实现步骤如下:1、在anim目中实现一个插补器cycle_7.xml,其中cycle=7表示文本框来回抖动的次数<cycleInterpolator xmlns:android="http://schemas.android.
2016-07-22 20:45:09
562
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人