1. changed 2 lines of code in all the files generated by Thrift, to workaround a bug in IntellijIDEA. The change is non-destructive, i.e. Eclipse works fine with it. The chnage is: add a cast to the getClass() method of the Object class, like this: change getClass() to ((Object) this).getClass(), and other.getClass() to ((Object) other).getClass()   2. added Thrift and slf4j to the libraries section of IntellijIDEA project (this section is sort of like buildpath in Eclipse)