自定义博客皮肤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)
  • 收藏
  • 关注

原创 CCF计算税前工资

问题描述   小明的公司每个月给小明发工资,而小明拿到的工资为交完个人所得税之后的工资。假设他一个月的税前工资(扣除五险一金后、未扣税前的工资)为S元,则他应交的个人所得税按如下公式计算:   1) 个人所得税起征点为3500元,若S不超过3500,则不交税,3500元以上的部分才计算个人所得税,令A=S-3500元;   2) A中不超过1500元的部分,税率3%;   3) A中超过1...

2018-07-05 21:35:59 573

转载 Access restriction: The type BASE64Encoder is not accessible due to restrict

Access restriction: The type BASE64Encoder is not accessible due to restrict 在Eclipse中编写Java代码时,用到了BASE64Decoder,import sun.misc.BASE64Decoder;可是Eclipse提示: Access restriction : The type BASE64Decode

2016-03-19 13:26:47 964

原创 Java compiler level does not match

从别的地方导入一个项目的时候,经常会遇到eclipse/Myeclipse报Description Resource Path Location Type Java compiler level does not match the version of the installed Java project facet.出现这个问题的原因是因为,eclipse/myeclipse的jdk编译版本与

2016-03-19 13:25:06 568

转载 java @Override错误

导入一个外部工程时,Myeclipse中出现@Override错误,必须删除此注解,项目才可以编译通过,但是这个方法就是要重写的,为什么会报错呢?jdk1.5(5.0)之前这个就有,算是Bug,jdk1.6(6.0)版本之后修复了这个Bug。把工程编译时使用JDK1.6版本可以解决。具体操作: Myeclipse中 Window–>Preferences–>Java–>Compiler–>C

2016-03-19 13:16:31 417

原创 An internal error occurred during: "Add Deployment".

在用MyEclipse导入一个外部工程准备部署到tomcat时出现这样一个错误: An internal error occurred during: “Add Deployment”. 解决方案: 右键点击项目名称 选中Java Build Path 选择Libraries选项卡 选中JRE System Library[Sun JDK 1.7.0_79] 点击Edit Work

2016-03-19 13:10:42 586

原创 mysql5.5更换配置文件my.ini后无法登录

更换mysql5.5.20的my.ini配置文件后无法登录,提示如下错误:ERROR 1045: Access denied for user ‘root’@’localhost’ (using password: YES) 解决方案: 在mysql的my.ini文件中找到mysqld节点,在此节点下添加skip-grant-tables语句 重新在命令行或者客户

2016-03-18 17:16:56 1242

原创 Multiple markers at this line - The type org.xmlpull.v1.XmlPullParser cannot be resolved. It is ind

Multiple markers at this line - The type org.xmlpull.v1.XmlPullParser cannot be resolved. It is indirectly referenced from required .class files - The type org.xmlpull.v1.XmlPullParser cannot

2016-03-18 13:25:46 1571

原创 PhoneGap安装 环境搭建及配置

Phonegap :        是一款开源的开发框架,旨在让开发者使用HTML、Javascript、CSS等Web APIs开发跨平台的移动应用程序。 它需要特定平台提供的附加软件,例如iPhone的iPhone SDK,Android的Android SDK等,也可以和DW5.5及以上版本配套开发。使用PhoneGap只比为每个平台分别建立应用程序好一点点,因为虽然基本代码是一

2015-08-17 21:58:20 663

原创 Android运用Genymotion调试,调试启动时出错

利用Genymotion进行调试时,出现如下错误:The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse.Please ensure that adb is correctly located at 'E:\setups\android\android-2.1_r0

2015-07-31 10:55:02 1239

原创 hibernate错误:could not execute native bulk manipulation query

今天在写一个hibernate的更新操作String hql="update "+list.get(1)+" set "+columnName+"="+list.get(3)+" where "+list.get(1)+"id="+list.get(0);Query q=se.createQuery(hql);q.executeUpdate();tr.commit();se.close();遇到了

2014-02-20 19:11:37 68768 2

空空如也

空空如也

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

TA关注的人

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