Hi Lenin, Intellij is basically a pain with the generated code stuff. The way I typically deal with this (I use IntelliJ also) is I go to the root directory and I do:
mvn clean install -DskipTests Then I go to Intellij and reimport the whole Maven project. After that, it should be able to see everything. If not, you may have to go into the Project Settings and make sure that the sources generated by the Avro Maven plugin are included in the sources for each module that uses them (sdk, core) Hope that helps. Let us know if you continue to run into trouble! Mike On Thu, Jun 20, 2013 at 8:25 AM, Lenin Raj <[email protected]> wrote: > Hello, > > I fixed the above issue by modifying the code a little. > > Now, in DurablePositionTracker.java I get an error on TransferStateFileMeta > (cannot resolve symbol). Please advise on how to resolve this error. > > PS - I pulled the repo again today. > > > Thanks, > Lenin > > > On Sun, Jun 16, 2013 at 1:25 PM, Lenin Raj <[email protected]> wrote: > > > Hello, > > > > I pulled the latest source using > > > > git clone https://git-wip-us.apache.org/repos/asf/flume.git > > > > I got the version *1.3.0* > > > > And I added all dependencies in IntelliJ IDE and did Make Project. It > > resulted in errors: > > > > java: org.apache.flume.thrift.ThriftSourceProtocol.Processor.append is > not > > abstract and does not override abstract method isOneway() in > > org.apache.thrift.ProcessFunction > > > > When I checked the source of ProcessFunction in 0.9.0 of Thrift, isOneWay > > method is abstract. > > > > protected abstract boolean isOneway(); > > > > Is is because I am using the incorrect version of the dependent > libraries? > > > > Please advise. > > > > Thanks, > > Lenin > > >
