Are you building with JDK 7? If so, please make sure that you're using JDK 6 settings for compiling. Strictly speaking, not defining the type parameters on the RHS is not valid per JDK 6.