Hello All,

I am trying to use Thrift with Java. As the readme file in /lib/java says I
have run ant cmd and I get a libthrift.java file which I have included in my
Java Project.
This resolves all the org.apache.* package imports but is unable to resolve
org.slf4j.Logger and LoggerFactory imports.

I gave the following .thrift file:

namespace java Test

service Something {
  i32 ping()
}

And after running thrift --gen java sample.thrift I got a Something.java
file which I have included in my project. This autogenerated Something.java
imports org.slf4j.Logger and LoggerFactory

I have done everything what the Readme says and dont know how to resolve
this import.

Any help will be highly appreciated.

Thanks and Regards
Nikhil Jindal

Reply via email to