thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sreejith S <>
Subject Include external dependency when creating java file from a .thrift file
Date Thu, 17 Nov 2011 10:16:54 GMT
Hi ,

This is my sample.thrift file
namespace java com.test.generated

service Extract {
  MultiMap extract(1: string text),
The return type of extract function is MultiMap,which is from

when i run thrift --gen java sample.thrift,
since thrift is not ware of MultiMap type and saying Type "MultiMap" has
not been defined.

How can i make this MultiMap from apache.commons.collection make aware to


* *

tweet2sree@twitter <http://tweet2Sree>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message