用DOM解析XML时出现了如下错误:[Fatal Error] :3:13: Open quote is expected for attribute "{1}" associated with an element type "id".org.xml.sax.SAXParseException: ...
分类:
其他好文 时间:
2015-08-28 23:10:36
阅读次数:
173
springMVC来文件上传 MultipartResolver commons-fileupload.jar MultipartFile...
分类:
编程语言 时间:
2015-08-28 13:28:33
阅读次数:
210
在使用springMVC进行系统实现时,springMVC默认的解析器里面是没有加入对文件上传的解析的。但如果你想使用springMVC对文件上传的解析器来处理文件上传的时候就需要在spring的applicationContext里面加上springMVC提供的MultipartResolver的申明。客户端每次进行请求的时候,springMVC都会检查request里面是否包含多媒体信息,如果包...
分类:
编程语言 时间:
2015-08-28 13:20:01
阅读次数:
281
今天遇到一个奇怪的问题。同事访问我电脑发布的程序页面,freemarker日期格式报错。而其他电脑访问则没有问题。先贴出错误信息。FreeMarker template errorThe string doesn't match the expected date/time/date-time fo...
分类:
其他好文 时间:
2015-08-27 15:10:23
阅读次数:
600
今天在用bmob的时候,报了“Expected a string but was BEGIN_ARRAY at line 1 column 50“这个错误,开始我没有注意,以为是网络引起的错误,后来总是报错,所以仔细看了一下,期待一个String类型却是一个array类型,心想,这肯定报错啊。
传回来的是json数据,映射到这个实体类。public class Notice extends Bmo...
分类:
移动开发 时间:
2015-08-27 11:11:04
阅读次数:
246
vSS: vSwitches are configured on each ESXi/ESX host. vDS: The configuration of vDS is centralized to vCenter Server. The ESXi/ESX 4.x and ESXi 5.x hos...
分类:
Web程序 时间:
2015-08-26 19:36:18
阅读次数:
532
这种类型的提交, 必须配合 multipartResolver,$("button:submit").click(function(){ $.ajax({ type : 'POST', url : '${sys_config.root_path}/login.h...
分类:
编程语言 时间:
2015-08-26 07:05:11
阅读次数:
135
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
出现这一错误的主要原因为:
使用的是hibernate的saveOrUpdate方法保存实例。saveOrUpdate方法要求ID为null时才执行...
分类:
其他好文 时间:
2015-08-21 19:31:16
阅读次数:
135
DXP AD10装了好久了,很多功能都没有使用,今天突然想玩玩仿真,然后就画了一个简单的原理图,之后仿真,出现了has no drive 什么的,后来新建了一个工程文件,将其放进去,在仿真,又出现了expected separatedcharacter什么的,后来发现,仿真的激励源没有designa...
分类:
其他好文 时间:
2015-08-21 00:06:44
阅读次数:
139