jfrog / artifactory-client-java

Artifactory REST Client Java API bindings
Apache License 2.0
319 stars 153 forks source link

Can't locate symbol "Artifactory", and all instructions in ReadMe seem deprecated #147

Open monkeymantra opened 7 years ago

monkeymantra commented 7 years ago

I'm attempting to use the client to download files on Artifactory. However, I can't even import the name "Artifactory". As far as my gradle builds are concerned, a few classes are available - ArtifactoryClientBuilder, etc. - but when I compile I get this:

.../downloaders/ArtifactoryDownloader.java:6: error: cannot find symbol import org.jfrog.artifactory.client.Artifactory;

I opened up the jar I downloaded from the repo using a jar viewer, and yup, Artifactory isn't in it! Something's up with your build scripts, maybe?

eyalbe4 commented 7 years ago

@monkeymantra, Did you copy the client's dependency from the README to your gradle script? Can you share with us your gradle script?