你糊涂了?   it.next();返回的是一个entitybean
根本不是一个Vector !!!

解决方案 »

  1.   

    不对吧?你的public java.util.Collection ejbFindByPageID() throws FinderException 
    返回的类型是collection阿!
    怎么下边写着return v //(Vector)????
      

  2.   

    public java.util.Collection ejbFindByPageID() throws FinderException 
    返回的类型是collection
      

  3.   

    Vector v = ph.findByPageID();
    Iterator it=.iterator();
    while(it.hasNext()){
      EntityBean bean =(EntityBean)it.next();
    }
    试试看