java.lang.IllegalArgumentException: 'name' must not be null
来源:互联网 发布:安尔捷网络可信吗 编辑:程序博客网 时间:2024/05/18 02:40
java.lang.IllegalArgumentException
2011-06-03 10:45:19 星期五, 718 [WARN] org.directwebremoting.dwrp.BaseCallMarshaller
--Erroring: batchId[0] message[java.lang.IllegalArgumentException
找了好久终于让我找到了答案:so easy!!!
要说这种错误只能是初学者出的错,呵呵!!!
让我来解释下吧:
(1)我们原来的错误代码:
<create javascript="bigScreen" creator="spring">
改正后的代码:
<create javascript="bigScreen" creator="spring">
原因是:①调用自己写的类,creator="new" param="calss" value="com.sinpo.upbs.action.AjaxAction"这三个参数都是不能变的
②调用Spring的接口:creator="spring" param="beanName" value="AjaxDAO"
AjaxDAO要在spring的配置文件里面配置。
红色字体部分是不能够修改的,是固定格式
呵呵
- java.lang.IllegalArgumentException: 'name' must not be null
- Caused by: java.lang.IllegalArgumentException: Original must not be null
- java.lang.IllegalArgumentException: Host name may not be null
- java.lang.IllegalArgumentException: name MUST NOT NULL! at org.nutz.dao.impl.NutDao.fetch
- Bean 'shiroFilter'; nested exception is java.lang.IllegalArgumentException: Bean name must not be em
- [异常整理]java.lang.IllegalArgumentException: Attribute value must not be null
- java.lang.IllegalArgumentException: FacesContext must not be null 错误分析及解决
- 解决 java.lang.IllegalArgumentException: Repository interface must not be null on initialization!
- IllegalArgumentException:Bean object must not be null
- IllegalArgumentException: view must not be null
- Caused by: java.lang.IllegalArgumentException: Text may not be null
- 关于网络请求的一个异常bug(java.lang.IllegalArgumentException: Host name may not be null)
- 解决java.lang.NullPointerException: View must not be null!
- java.lang.IllegalArgumentException: Resources cannot be null
- java.lang.IllegalArgumentException: Resources cannot be null
- java.lang.IllegalArgumentException: Resources cannot be null.
- java.lang.IllegalArgumentException: Resources cannot be null
- java.lang.IllegalArgumentException: Resources cannot be null.
- 前端重构人眼里的Chrome和Firefox
- thinkphp——rbac
- 第四、静态库的使用 待更新
- Android HttpClient上传文件与Httpconnection知识小结
- java进度条
- java.lang.IllegalArgumentException: 'name' must not be null
- 利用GoAhead构建嵌入式web应用
- 解决Camtasia Studio7录制的时候弹出来Failed to start recording的方法
- Scanner简单文本扫描器
- 集成SSH 和 DWR(三) 整合Spring和DWR
- smplayer的几个常用配置 以及激活ubuntu中的重启X Window的救命三键
- 使用TFS2010管理敏捷项目生命周期-系列指南3 工作项跟踪,以及用VS2010,excel和web方式使用的区别
- 国际化 20111111
- 启发式搜索