thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil Jindal <nikhiljin...@google.com>
Subject Re: Problem with the Java Library
Date Fri, 25 Jun 2010 13:12:34 GMT
Thanks a lot man for such a quick reply.
This is precisely what I wanted.
Just missed SLF4J as a requirement for Java on the site and took so much
time to figure it out. I am not sure, if I would have been able to figure it
out myself if not for ur help.

Thanks a lot.
I really Appreciate it.

Thanks
Nikhil Jindal

On Fri, Jun 25, 2010 at 6:29 PM, Michael Ward <m2ward@gmail.com> wrote:

> http://www.slf4j.org/
>
> On Fri, Jun 25, 2010 at 7:55 AM, Nikhil Jindal 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