 <p>Probably you misspelled the class name or you didn't import the class name, check that and try again. And also what Andrew Said.</p> <p>In case you are using the IDE Eclipse if you press Ctrl+Shift+o (letter O) it imports everything automatically for you.</p> <p>Hope it helps.</p>