artifactory-client-java icon indicating copy to clipboard operation
artifactory-client-java copied to clipboard

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

Open monkeymantra opened this issue 8 years ago • 1 comments

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?

monkeymantra avatar Aug 18 '17 21:08 monkeymantra

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

eyalbe4 avatar Aug 18 '17 22:08 eyalbe4