Can not find a java.io.InputStream with the name [...] in the invocation stack. ...

3379748 [qtp33117621-12] ERROR org.apache.struts2.dispatcher.StreamResult - Can not find a java.io.InputStream with the name [joGroupMembers] in the invocation stack. Check the tag specified for this action.
3379749 [qtp33117621-12] ERROR org.apache.struts2.dispatcher.Dispatcher - Exception occurred during processing request: Can not find a java.io.InputStream with the name [joGroupMembers] in the invocation stack. Check the tag specified for this action.
java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [joGroupMembers] in the invocation stack. Check the tag specified for this action.
at org.apache.struts2.dispatcher.StreamResult.doExecute(StreamResult.java:237)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)

该问题有多种原因造成:
遇到这种问题时,根据错误提示,原因没有取到变量joGroupMembers,因此应该去检查这个变量的配置和实际定义的是否一致,以及该变量的存取函数是否正确。

本次的原因是将变量:
private InputStream joGroupMembers = null;
的存取函数:getJoGroupMembers错写成了:getjoGroupMembers

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值