专注于高品质PHP技术等信息服务于一体 [STIEMAP] [RSS]

百度提供的广告:
java
当前位置:首页 > 技术文档 > java >  > 
struts2 input date 类型数据 ognl.OgnlException: target is nu

使用 Struts2 开发项目 ,出错:struts2 input date 类型数据 ognl.OgnlException: target is null for setProperty 查看了网上的说法,说要配置一个转换器。已在项目中设定地区为ZH-CN

struts.locale=zh_CN
struts.i18n.encoding=GBK
struts.objectFactory=spring

使用转换器还是不能使用,即然报错。

机器是 64位 win 7 换用 32 位正常使用。不知为何。