2016年6月1日

运行可执行jar包出错

摘要: 用maven创建的项目(可执行jar包),用eclipse开发过程中没问题,但是通过控制台java -jar指令执行出现以下错误:Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionPa 阅读全文

posted @ 2016-06-01 18:20 symcious 阅读(499) 评论(0) 推荐(0) 编辑

2015年10月22日

Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Loader

摘要: 解决方法:清除web.config中的。 阅读全文

posted @ 2015-10-22 21:51 symcious 阅读(328) 评论(0) 推荐(0) 编辑

2015年10月14日

Sys_Config is not mapped

摘要: NHibernate.Hql.Ast.ANTLR.QuerySyntaxException: Sys_Config is not mapped [from Sys_Config]hibernate.cfg.xml文件中的配置不正确,还有就是顺序不能乱,如要放在节点的最后 阅读全文

posted @ 2015-10-14 13:33 symcious 阅读(271) 评论(0) 推荐(0) 编辑

2015年10月3日

DataTable转为List对象

摘要: 1 public static List Convert2Object(DataTable dt) where T : new() 2 { 3 List list = new List(); 4 foreach (DataRow ... 阅读全文

posted @ 2015-10-03 23:27 symcious 阅读(205) 评论(0) 推荐(0) 编辑

2015年9月29日

从Post请求中获取传递的Content

摘要: HttpContextBase context = (HttpContextBase)Request.Properties["MS_HttpContext"]; byte[] byts = new byte[context.Request.ContentLength]; ... 阅读全文

posted @ 2015-09-29 14:49 symcious 阅读(372) 评论(0) 推荐(0) 编辑

2015年9月10日

sql server 存储过程分页

摘要: create proc [dbo].[sp_GetPagedList] ( @pageIndex int, @pageSize int, @orderBy nvarchar(512), @colu... 阅读全文

posted @ 2015-09-10 15:26 symcious 阅读(128) 评论(0) 推荐(0) 编辑

2015年7月6日

C#中一次执行多条Oracle语句出现ORA-00911,invalid character

摘要: 需要在开头和结尾分别加入begin end ,如beginselect * from test;select * from test2;end; 阅读全文

posted @ 2015-07-06 09:44 symcious 阅读(383) 评论(0) 推荐(0) 编辑

2015年7月3日

ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

摘要: 在web.config文件的connectionStrings连接串中的Data Source设置成Data Source=IP/orclIP:服务器IPorcl:服务名称 阅读全文

posted @ 2015-07-03 12:54 symcious 阅读(1919) 评论(0) 推荐(0) 编辑

2015年6月18日

Docker中创建redis容器

摘要: 1.创建docker run --name myredis1 -m="5M" -d redis2.移除所有容器:docker rm $(docker ps -a -q)3.使用本机中的redis.conf文件docker run --name r1 -v /root/redis.conf:/usr/... 阅读全文

posted @ 2015-06-18 16:58 symcious 阅读(186) 评论(0) 推荐(0) 编辑

2015年5月22日

amoeba ERROR 1044 (42000): Could not create a validated object, cause: ValidateObject failed

摘要: 部署amoeba过程中若出现错误:ERROR 1044 (42000): Could not create a validated object, cause: ValidateObject failed或ERROR 1044 (42000): poolName=multiPool, no vali... 阅读全文

posted @ 2015-05-22 15:50 symcious 阅读(2570) 评论(0) 推荐(0) 编辑

导航