All Apache Thrift tutorials require that you have:
Generated the tutorial.thrift file as discussed here
thrift --gen javame tutorial.thrift
Followed all prerequesets listed