含雪幸福

导航

 

2016年9月7日

摘要: The user specified as a definer ('root'@'%') does not exist 此种报错主要是针对访问视图文件引起的(没有权限) 解决方法: 2.进入mysql的安装路径之前,要确保你的mysql服务是开启的; 在DOS命令窗口输入 mysql -hlocal 阅读全文
posted @ 2016-09-07 17:31 含雪幸福 阅读(40173) 评论(2) 推荐(5)
 

2016年7月12日

摘要: 有史以来,第一次,遇到这个问题, 设置好断点,Debug模式开启项目,,没有进入原来打好的断点类,反而,进入的是和断点类相同名字(但是图标不同)的一个类里, 不能真正的调试,调试变得很麻烦, 解决方案:::: 让Debug模式开启的,断点进入的还是断点类 右键点击项目--> Debug As --> 阅读全文
posted @ 2016-07-12 11:30 含雪幸福 阅读(3264) 评论(0) 推荐(1)
 

2016年7月11日

摘要: 这篇帖子的背景: 本人想将一个git项目导入至Eclipse的Workspace中,并且该项目的所有git信息。但是,该git项目在导入之前,就已经存放在Eclipse的Workspace中。在将该git项目导入至Eclipse的时候,就会提示: Invalid project descriptio 阅读全文
posted @ 2016-07-11 15:01 含雪幸福 阅读(3794) 评论(0) 推荐(0)
 

2016年7月8日

摘要: jsp一个input输入框用的是easyui时间控件,现在问题是如何是这个input只能点击选择日期,而禁止手动输入 解决方法::: 在日期的input标签里面添加:::;editable="false" 如: <form:input path="rechargeDateStart" style=" 阅读全文
posted @ 2016-07-08 16:38 含雪幸福 阅读(5236) 评论(0) 推荐(0)
 

2016年7月7日

摘要: /** 判断是否为同一月份 */ public boolean compareMonths(Date rechargeDate,Date date){ Calendar c = Calendar.getInstance(); c.setTime(rechargeDate); int recharge 阅读全文
posted @ 2016-07-07 14:55 含雪幸福 阅读(651) 评论(0) 推荐(0)
 

2016年6月29日

摘要: Address already in use: JVM_Bind<null>:8080在MyEclipse启动或者是tomcat启动的时候出现:Address already in use: JVM_Bind<null>:8080 出现该异常,这里的8080是你的端口,有可能是80或者其他,但是都是 阅读全文
posted @ 2016-06-29 10:24 含雪幸福 阅读(35458) 评论(1) 推荐(1)
 

2016年6月23日

摘要: 报错的来源是: <?xml version="1.0" encoding="UTF8"?> 解决方案::,一般是WSDL的头文件的格式出了问题,比如说有空格,回车等等还有上面不能有行。 这样的问题最好是事先备好web.xml,然后直接paste你要的东西 就OK 不需要太纠结!反正不影响程序运行 阅读全文
posted @ 2016-06-23 15:06 含雪幸福 阅读(560) 评论(0) 推荐(0)
 
摘要: 今天在eclipse中编写pom.xml文件时,注释中的中文被eclipse识别到错误:Invalid byte 1 of 1-byte UTF-8 sequence,曾多次遇到该问题,问题的根源是: The cause of this is a file that is not UTF-8 is 阅读全文
posted @ 2016-06-23 15:03 含雪幸福 阅读(340) 评论(0) 推荐(0)
 

2016年3月15日

摘要: 前些日子一朋友在需要在目标对象中进行自我调用,且需要实施相应的事务定义,且网上的一种通过BeanPostProcessor的解决方案是存在问题的。因此专门写此篇帖子分析why。 aop概念请参考【http://www.iteye.com/topic/1122401】和【http://jinnians 阅读全文
posted @ 2016-03-15 16:45 含雪幸福 阅读(9443) 评论(0) 推荐(1)
 

2016年2月16日

摘要: 1构造函数(主要测试参数类型为double和String的两个常用构造函数) BigDecimal aDouble =new BigDecimal(1.22); System.out.println("construct with a double value: " + aDouble); BigD 阅读全文
posted @ 2016-02-16 16:58 含雪幸福 阅读(353) 评论(0) 推荐(0)
 
 
/*生成博客目录的CSS*/ #uprightsideBar{ font-size:12px; font-family:Arial, Helvetica, sans-serif; text-align:left; position:fixed;/*将div的位置固定到距离top:50px,right:0px的位置,这样div就会处在最右边的位置,距离顶部50px*/ top:50px; right:0px; width: auto; height: auto; } #sideBarTab{ float:left; width:30px; border:1px solid #e5e5e5; border-right:none; text-align:center; background:#ffffff; } #sideBarContents{ float:left; overflow:auto; overflow-x:hidden;!important; width:200px; min-height:108px; max-height:460px; border:1px solid #e5e5e5; border-right:none; background:#ffffff; } #sideBarContents dl{ margin:0; padding:0; } #sideBarContents dt{ margin-top:5px; margin-left:5px; } #sideBarContents dd, dt { cursor: pointer; } #sideBarContents dd:hover, dt:hover { color:#A7995A; } #sideBarContents dd{ margin-left:20px; }