generics are not supported in -source 1.4
(use -source 5 or higher to enable generics)
private ArrayList<UserBean> students;

It's pretty clear to me. You are trying to compile something as though it where source code using JDK version 1.4 when it is actually code that needs a JDK of 1.5 or higher.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.