1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #assgin on line: 18, column: 151, in template: tag.ftl in tag.ftl
at freemarker.template...
分类:
其他好文 时间:
2014-06-19 12:51:20
阅读次数:
246
今天在家装WampServer2.0做php开发,但是装好了Apache的service却无法启动,点击了重新启动还是不行,于是网上求助,原来才知道我开了网页迅雷的缘故,因为像qq音乐和网页迅雷这样的文件都会默认占用80端口的,我试着把迅雷关掉重启服务,localhost启动成功,mysql测试页面...
分类:
其他好文 时间:
2014-06-15 23:18:07
阅读次数:
250
1. 经常用法,调用Android的API:WifiManagerWifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo info = wifi.getConnectionInfo(); re...
分类:
移动开发 时间:
2014-06-15 20:43:19
阅读次数:
246
Amazon SNS(Simple Notification Service)是一种基于云平台的消息通知和推送服务。SNS提供简单的 Web 服务接口和基于浏览器的管理控制台让用户能够简易设置、运行并从云中发送消息通知和推送服务。它为开发人员提供高度可扩展、灵活并且经济高效的从应用发布消息的功能,并立即将这些消息推送给订阅者或其他应用程序。...
分类:
移动开发 时间:
2014-06-15 16:59:54
阅读次数:
367
///// 第一步:获取NotificationManager
NotificationManager nm = (NotificationManager)
getSystemService(Context.NOTIFICATION_SERVICE);
///// 第二步:定义Notification
Intent intent = new Intent(this, Oth...
分类:
移动开发 时间:
2014-06-15 16:16:47
阅读次数:
182
┏┓ ┏┓
┏┛┻━━┛┻┓
┃ ┃
┃ ━ ┃
┃ ┳┛ ┗┳ ┃
┃ ┃
┃ ┻ ┃
┃ ┃
┗━┓ ┏━┛
┃ ┃ code is far away from bug with the animal protecting
┃ ┃ 神兽保佑,代码无bug
┃ ┗━━━┓
...
分类:
Web程序 时间:
2014-06-14 06:47:49
阅读次数:
506
当我们想要使用kindeditor的图片上传功能时,有两种选择图片方式,一种是本地选择,一种是在图片空间中选择,图片空间的默认地址是服务器上的/kindeditor/attached/image/下面。
如果想要改变这个路径,需要找到/kindeditor/php/file_manager_json.php这个文件,然后可以看到下面几行:
//根目录路径,可以指定绝对路径,比如 /var/...
分类:
其他好文 时间:
2014-06-13 21:31:50
阅读次数:
296
expression="execution(* *..Book.save(..))"/>
或者
都会用到* *..Book.save(..) 或com.bky.service..*
直接点来瞅瞅.. ..*这些是什么意思
如execution(* *..books.save(..))
第一颗* 返回值可任意,
*..books ...
分类:
编程语言 时间:
2014-06-13 21:24:39
阅读次数:
323
在VMware里克隆出来的CentOS
Linux。。ifconfig...没有看到eth0.。然后重启网卡又报下面错误。故障现象:service network restartShutting
down loopback insterface: ...
分类:
其他好文 时间:
2014-06-13 17:35:14
阅读次数:
384
今天在开发.net引用程序中,需要System.Drawing.Image.Save
创建图片,debug的时候程序一切正常,可是发布到IIS后缺提示出现“GDI+中发生一般性错误”的异常。于是开始“摆渡”,并寻找到了解决办法:赋予
NETWORK SERVICE 帐户以写权限。以下为晚上寻找到的资...
分类:
其他好文 时间:
2014-06-13 14:43:58
阅读次数:
291