这个题真的很简单,但是在LeetCode中难度排最高级,开始写代码进度跑的时候以为是题理解错啦,它的输出信息是input:ouput:expected:我以为第二项是正确答案,可恶的英文,最后知道原因后,就能写正确代码,但是中间老是有点改动就想提交,不知道这习惯好不,下面贴上丑陋的代码,花时间再看看...
分类:
其他好文 时间:
2015-04-15 23:11:01
阅读次数:
176
FreeMaker 在遍历map ,当Map的key 定义了Integer时,会报Expected number, sequence, or string. i.imageUrl evaluated instead to freemarker.template.SimpleHash 异常,因为FreeMaker不支持遍历key为Integer...
分类:
其他好文 时间:
2015-04-15 19:47:31
阅读次数:
367
错误信息 "NetworkError: 404 NOT FOUND - http://192.168.33.10:8001/static/js/src/MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML-full&delayStartupUntil=configured" 解决方法: 在文件夹中解压/common/sta...
分类:
其他好文 时间:
2015-04-14 16:56:55
阅读次数:
160
今天使用Eclipse新建Maven项目时报错,错误日志如下:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
Could not write artifact lastUpdated st...
分类:
其他好文 时间:
2015-04-14 00:47:16
阅读次数:
261
<The JVM was unable to load the native wlfileio library for the store "_WLS_AdminServer". File and paging stores will continue to function correctly. Specifically, file stores that are configured with...
分类:
编程语言 时间:
2015-04-13 11:06:33
阅读次数:
628
1,oracle jdbcHTTP Status 500 - Incorrect result size: expected 1, actual 02015-03-31 00:03:58,250 SQL Error: 12899, SQLState: 720002015-03-31 00:03:58...
分类:
数据库 时间:
2015-04-13 10:49:40
阅读次数:
171
之前在写脚本时遇到了这样的错误“[: ==: unary operator expected”这是由于做判断的变量值为空导致的。谷歌出解决方案:在变量之后加任意字符。例如,要判断变量un是否为auto又要防止un为空出错则这样写if [ ${un}x == autox]当un为auto时,表达式为a...
分类:
其他好文 时间:
2015-04-12 12:01:47
阅读次数:
494
一、AIDL是什么?
AIDL(Android Interface Definition Language)是Android接口定义语言,用于进程间的通信(IPC),它能实现让多个应用程序组件之间与某个Service进行跨进程通信,从而实现多个应用程序共享一个服务的功能。
二、为什么要通过AIDL进行IPC通信?
系统为一个应用分配一个进程,进程运行在自己的内存空间,一个进程不能直接访问另外...
分类:
其他好文 时间:
2015-04-10 18:11:25
阅读次数:
519
错误信息:Can‘t find bundle for base name cache Set OFBIZ_HOME to - E:/develop/ofbiz/apache-ofbiz-09.04/apache-ofbiz-09.04 Admin socket not configured; set to port 0 Exception in thread "main" java....
分类:
系统相关 时间:
2015-04-08 20:05:25
阅读次数:
378
ADB server didn't ACK && make sure the plugin is properly configured! adb启动失败一般是端口被占用! 解决方法和步骤: 1、输入命令netstat -ano | findstr "5037" 2、查看到端口2152被占用。 输入...
分类:
移动开发 时间:
2015-04-08 10:35:35
阅读次数:
207