- 博客(19)
- 资源 (2)
- 收藏
- 关注
原创 RemoteException occurred in server thread; nested exception is:
RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: bot
2014-04-11 13:42:58 4830
原创 Unsupported launch configuratio type org.eclipse.ant.AntLaunchConfigurationType
在maven 的Eclipse中,用build.xml生成jar包时控制台抛出Unsupported launch configuratio type org.eclipse.ant.AntLaunchConfigurationType这样的异常 后来在网上查到一段相关的错误纠正方法,于是乎试着修改了一下,结果成功搞定,现在贴出解决该错误的方法 首先找到你工程所在的ecli
2012-09-05 17:29:47 1486
原创 struts2标签遇到的问题和JS问题
1.我在标签中遇到,value这里本是一个list集合,但我这的集合名称保存在数据库里,从数据库里取出来是一个字符串,而在value里是一个集合,经过我多次调试,value的值应该这样写 fieldName是从数据库获取的集合字符串名称. 那如果value是一个方法名那这里应该怎么办呢,我是怎么也没弄出来,后来通过朋友介绍说用自定义标签, 所以现在正在努力学习自定义
2012-05-11 16:50:33 673
原创 org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: botian.entity.User
在新增用户时报错 Messages: Unknown entity: botian.entity.User Unknown entity: botian.entity.User; nested exception is org.hibernate.MappingException: Unknown entity: botian.entity.User File: org/hi
2012-02-13 17:57:23 1437
原创 用py2exe生成exe文件后,在注册服务时报错
用py2exe生成exe文件后,在注册服务时报的错 F:\pythonwork\botian.voicebox.client-p\src\dist>buildService installTraceback (most recent call last): File "boot_service.py", line 22, in File "zipextimporter.p
2011-12-26 18:15:32 1384
原创 java.net.NoRouteToHostException: No route to host: no further information
之前一直不知道这个错误是怎么回事,今天终于在一次意外中找寻到答案错误:16:12:38,921 [ERROR] - ++++ failed to get SockIO obj for: 192.168.1.4:1121116:12:38,921 [ERROR] - No route to host: no further informationjava.net.NoRouteT
2011-12-12 18:18:56 11714 1
原创 java中java.lang.NoSuchMethodException: com.opensymphony.xwork2.ActionSupport.ledgerManage()错
Struts has detected an unhandled exception:Messages: com.opensymphony.xwork2.ActionSupport.ledgerManage()File: java/lang/Class.javaLine number: 1,605Stacktracesjava.lang.NoSuchMethodExc
2011-10-19 17:32:09 3919
原创 新增表时报(1005, "Can't create table 'btpmnew.#sql-7ac_188' (errno:121)")错
Creating table pm_snmpmonitorrecordTraceback (most recent call last): File "manage.py", line 11, in execute_manager(settings)
2011-10-12 10:47:39 1780
原创 django logging在settings.py文件里配置
支持django1.3以上版本。。。本来我的是1.2.5的搞了N长时间都没弄出来,原来是版本问题,真是郁闷了。。。 在settings.py里配置loggingLOGGING = { 'version': 1, 'disable_existi
2011-09-15 15:27:18 5169
原创 修改linux系统下的snmp端口及相关参数
修改linux的etc/snmp/snmpd.conf文件 将snmp监控的名称修改成jiankong com2sec notConfigUser default jiankong 将snmp监控的端口修改成1161agentaddress
2011-08-11 14:23:33 1941
原创 python 的django中遇到的小问题(一)
1。当一个模型里有两个同一个模型为外键的时候,需要加上属性related_name 2。当获取数据时,需要将某一种情况排除外,用exclude() 3。当一个模型的外键是自己本身时,用models.foreginKey('self ')
2011-07-25 11:54:35 439
原创 nginx +tomcat The page you are looking for is temporarily unavailable.Please try again later.
nginx +tomcat 访问程序时报The page you are looking for is temporarily unavailable.Please try again later. 解决方法:查找转发的IP地址在nginx所在的机子上是否可以访问 如若不能访问,
2011-07-14 16:15:16 3695
原创 python解决 'ascii' codec can't decode byte 0xe5 in position 3: ordinal not in range(128)
用log.info('中文。。。。。')时报:'ascii' codec can't decode byte 0xe5 in position 3: ordinal not in range(128)错误 解决方法:在该文件的最上面添加import sys reload(sys
2011-07-07 11:58:41 6882 1
原创 python django 数据库查询
__exact 精确等于 like aaa__iexact 精确等于 忽略大小写 ilike aaa__contains 包含 like %aaa%__icontains 包含 忽略大小写 ilike %aaa%,但是对于sqlite来说,contains的作用效果等同于icontains。__gt 大于__gte 大于等于__lt
2011-06-22 10:09:00 1453
原创 新增数据时报错
Request Method:POSTRequest URL:http://localhost:8000/userCreateDjango Version:1.2.5Exception Type:IntegrityErrorException Value:(1062, "Duplicate entry 88888
2011-06-17 09:47:00 594
原创 安装net-snmp
linux环境下安装snmp 1.首先下装net-snmp源码,以net-snmp-5.4.3.tar.gz为例,地址如下:http://sourceforge.net/projects/net-snmp/files/net-snmp/5.4.3/ 2.解压压缩包进入该文件路径,输入:tar xzvf net-snmp-5.4.3.tar.gz 3
2011-06-14 11:16:00 670
原创 highchatts参数配置说明
chart:renderTo 图表的页面显示容器defaultSeriesType 图表的显示类型(line,spline, scatter, splinearea bar,pie,area,column)margin 上下左右空隙events 事件 click function(e) {} load function(e) {}
2011-05-20 11:48:00 1061
原创 python date的strftime的时间格式
strftime使时间格式化。python的strftime格式是C库支持的时间格式的真子集。 %a 星期几的简写 Weekday name, abbr. %A 星期几的全称 Weekday name, full %b 月分的简写 Month name, abbr. %B 月份的全称 Month name, full %c 标准的日期的时间串 Complete date and time representation %d 十进制表示的每月的第几天 Day of the month %H 24
2011-05-19 11:56:00 1844
原创 input type='file' 上传错误
<br />- Unable to parse request<br />org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (2550<br />734) exceeds the configured maximum (2097152)<br /> at org.apache.commons.fileupload.F
2010-12-10 11:40:00 870
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人