码迷,mamicode.com
首页 >  
搜索关键字:expected multiparthttpservletrequest: is a multipartresolver configured    ( 1631个结果
迁移asp.net项目从 iis 6 到 iis 7
有时候我们会引用一些外部assembly.这个时候系统会报不是有效的win32程序。此时需要在IIS7里做些设置1. Inside IIS (7)click on Application Pools.2. Find the Application Pool that is configured fo...
分类:Web程序   时间:2015-04-07 19:16:34    阅读次数:151
oracle NUMBER(1) 与 c# bool 的奇葩问题
最近公司的一个项目,在本地调试都ok,但一发布到测试环境就报异常:MessageText=System.ArgumentException: Value does not fall within the expected range. at Oracle.DataAccess.Client.Or.....
分类:数据库   时间:2015-04-07 15:18:01    阅读次数:152
org.hibernate.HibernateException: No CurrentSessionContext configured!
hibernate可以通过两种方式获得Session: getCurrentSession() 和openSession(). 当通过getCurrentSession()方法时,需要在 hibernate.cfg.xml配置文件中添加:thread
分类:Web程序   时间:2015-04-07 13:37:45    阅读次数:153
git 出现 The current branch is not configured for pull No value for key branch.master.merge found in configuration
以下是我在网上找到的不错的文章,我参考后已解决我的问题:http://my.oschina.net/robinsonlu/blog/144085http://www.cnblogs.com/zhanglanyun/archive/2013/06/05/3119335.htmlhttp://blog....
分类:其他好文   时间:2015-04-07 13:31:26    阅读次数:119
JUnit 4 如何正确测试异常
本篇讲述如何在JUnit 4下正确测试异常,我会从 try..catch的方式谈起,然后说到 @Test(expected=Exception.class),最后论及 @Rules public ExpectedException的实现方式,最终基本可确定用 @Rules是最方便的。我们在用 JUn...
分类:其他好文   时间:2015-04-02 18:26:55    阅读次数:136
在使用hibernate更新操作时出现org.hibernate.StaleStateException
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1错误原因: 使用hibernate的saveO...
分类:Web程序   时间:2015-04-02 15:00:22    阅读次数:146
Keil MDK C (error: #29: expected an expression) 错误的解决
今天,自己建了一个EFM32工程模版,调试代码时显示  ..\App\Panel_main.c(119): error:  #29: expected an expression 仔细的检查了半个小时,最后解决了!问题关键点如下图: Misc Controls 默认是C90,只要将改为C99即可解决 打完收工!!!...
分类:其他好文   时间:2015-03-30 21:15:35    阅读次数:1186
NDK编译c包含C++头文件 error: unknown type name 'class' 的解决方法
在进行native开发的时候,难免会遇到C文件包含C++头文件而调用C++函数,若没做什么处理,直接include进行编译的话,会遇到以下错误: error: unknown type name 'class' error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 那么怎么解决呢? 首先,找下报...
分类:编程语言   时间:2015-03-30 11:18:06    阅读次数:225
The declared package does not match the expected package
原文链接:http://www.cnblogs.com/davidwang456/p/3554350.htmleclipse使用import导入源代码到项目中或者通过svn检出等方式导入源码到项目中,控制台容易出现大量错误。但同时直接使用ant脚本进行编译则能编译成功。这个时候请不用担心,打开错误可...
分类:其他好文   时间:2015-03-21 18:35:10    阅读次数:143
JUnit——Annotation
Annotation是对属性,方法或者类做一个标记 比如@override表示复写了父类中的方法【1】@Test: 测试方法(说明该方法为测试方法)a)(expected=XXException.class)b)(timeout=xxx)@Test(expected=java.lang.Arithm...
分类:其他好文   时间:2015-03-20 21:43:06    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!