1、Exception during request processing: Caused by javax.servlet.ServletException with message: "#{zhuce.zhuce}: javax.ejb.EJBTransactionRolledbackException: @In attribute requires non-null value: zhuce.stu" 就应该查找@in的实体类注解相关信息,确定保证 @In private Student student;与之前的实体类中@Name("student")的信息一致