您的位置:首页 > 运维架构

target is null for setProperty

2013-07-18 09:02 295 查看
- No configuration found for the specified action: 'login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

- No configuration found for the specified action: 'login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

- No configuration found for the specified action: 'toSearchybgwForDo.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

- No configuration found for the specified action: 'toSearchybgwForDo.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

- No configuration found for the specified action: 'addNewReadDocument.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

- No configuration found for the specified action: 'addNewReadDocument.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.

- Error setting expression 'message.type' with value '[Ljava.lang.String;@18195b3'

ognl.OgnlException: target is null for setProperty(null, "type", [Ljava.lang.String;@18195b3)

错误原因:在jsp使用到<s:hidden name="message.type" value="1"></s:hidden>,但是没有在action中定义message和他的get()、set()方法

解决方案:在action中定义message和他的get()、set()方法,重启Tomcat
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐