If you right click on your project and goto properties->Build->Compiling you can add compiler options i.e. "-Xlint:unchecked". This will spit out detailed information on the error... I see this mostly with HashMap i.e. (HashMap myMap = new HashMap())... You can correct this error my replacing the above with (Map<Object, Object> myMap = new HashMap<Object, Object>()). So you are just defining the typeOf what ever you are storing....
Good Luck,
Jake