thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ward <m2w...@gmail.com>
Subject Re: Problem with the Java Library
Date Fri, 25 Jun 2010 12:59:27 GMT
http://www.slf4j.org/

On Fri, Jun 25, 2010 at 7:55 AM, Nikhil Jindal <nikhiljindal@google.com>wrote:

> 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
>

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