THIS CAN BE A QUICK FIX FOR ECLIPSE
When I was trying to create array list it gave error that array list cannot be resolved to type and something about "parametrised type are only in level 1.5"
Only I did was I tried to import java.util.ArrayList;
And that error went away.