Cannot find bean vec1 in any scope  是说,你传过来的bean 不是在相同的scope 中.
你看下scope 中传值是否是统一用 request 还是其它的。
在配置文件里面。