日期:2014-05-16  浏览次数:20371 次

Servlet.service() for servlet jsp threw exception struts2 标签异常

严重: Servlet.service() for servlet jsp threw exception

tag 'select', field 'list', id 'entInterNumber', name 'entInterNumber': The requested list key 'innerNumbers' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]

at org.apache.struts2.components.Component.fieldError(Component.java:231)

at org.apache.struts2.components.Component.findValue(Component.java:293)

at org.apache.struts2.components.ListUIBean.evaluateExtraParams(ListUIBean.java:79)

at org.apache.struts2.components.Select.evaluateExtraParams(Select.java:99)

?

?

?

?

------------------------------

?

原因是由于 Action 里面没有写对应的 ?get() ,set() 方法, 或者写错了。

?

?

?

?

?

?

?


我的异常网推荐解决方案:Servlet.service() for servlet default threw exception,http://www.aiyiweb.com/eclipse/181756.html