Windows dev tools are not famous for being Java friendly. I think
you'd have a lot better luck and certainly less friction with
netbeans, IntelliJ or eclipse, all of which run well on Windows.
There's a simple example maven POM based project that will work on
Windows with all of the above here:
https://github.com/RandyAbernethy/ThriftBook/tree/master/part3/java/simple_mvn

Hope it helps.

On Tue, Jan 29, 2019 at 12:03 PM Keerthi N <[email protected]> wrote:
>
> Hello,
>
> I'm trying to execute Java server and client for thrift. I'm currently
> using windows  so I downloaded thrift.exe file from thrifit offical website
> and I'm able to successfully gen java code.
>
> I have written desired Java server and client code in visual studio code
> and tried 3 options here separately : added java libraries from
> thrift/lib/java ,  downloaded explicit jar file in the same folder as the
> server/client code is in, downloaded maven and created maven archetype
> thrift plugin, with pom.xml file having all required dependencies, Java
> Server, client and thrift generated files.
>
> In all these options my IDE wasn't able to recognize or in other
> words throwing error import org.apache.thrift / different classes such as
> TTransport does not exist/can not be found.
>
> Please let me know any possible solutions.
>
> Thanks,
> Keerthi



-- 

-- 
Randy Abernethy
Managing Partner
RX-M, LLC
[email protected]
o 415-800-2922
c 415-624-6447

Reply via email to