Struts 项目报错,Error setting expression 'upgrade.upgradeVersionCode' 怎么解决?

14:01:11,294ERRORParametersInterceptor:34-DeveloperNotification(setstruts.devModetofa... 14:01:11,294 ERROR ParametersInterceptor:34 - Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'upgrade.upgradeVersionCode' on 'class action.UpgradeAction: Error setting expression 'upgrade.upgradeVersionCode' with value '[Ljava.lang.String;@3fd4ccb2'
14:01:11,295 ERROR ParametersInterceptor:34 - Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'version' on 'class action.UpgradeAction: Error setting expression 'version' with value ['V1.0.0', ]
14:01:11,342 ERROR Dispatcher:38 - Could not find action or result
/InnovationProj/upgradeAction!updateUpgrade?upgrade.upgradeName=%E7%94%A8%E6%88%B7%E7%89%88APPV1.0.0%E9%85%8D%E7%BD%AE&upgrade.upgradeVersion=V1.0.0&upgrade.upgradeVersionCode=undefined&upgrade.upgradeUrl=http://112.124.59.126:8080/youboxapia/app/download?type=0&version=V1.0.0&upgrade.upgradeSize=4.91&upgrade.upgradeContent=%E7%94%A8%E6%88%B7%E7%89%88APP%20V1.0.0&upgrade.upgradeStatus=0&upgrade.upgradeType=0
No result defined for action action.UpgradeAction and result input
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)

upgrade实体类中,upgradeVersionCode为int类型.
展开
 我来答
尹姚5
2014-11-22 · 超过41用户采纳过TA的回答
知道小有建树答主
回答量:94
采纳率:0%
帮助的人:69.2万
展开全部
&upgrade.upgradeVersionCode=undefined,类型不匹配,传的是字符串,而本身是int
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式