{"action":"created","issue":{"url":"https://api.github.com/repos/JFrogDev/artifactory-client-java/issues/66","labels_url":"https://api.github.com/repos/JFrogDev/artifactory-client-java/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/JFrogDev/artifactory-client-java/issues/66/comments","events_url":"https://api.github.com/repos/JFrogDev/artifactory-client-java/issues/66/events","html_url":"https://github.com/JFrogDev/artifactory-client-java/issues/66","id":115326685,"number":66,"title":"NoClassDefFoundError on ArtifactoryClient","user":{"login":"AurelienLourot","id":11795312,"avatar_url":"https://avatars.githubusercontent.com/u/11795312?v=3","gravatar_id":"","url":"https://api.github.com/users/AurelienLourot","html_url":"https://github.com/AurelienLourot","followers_url":"https://api.github.com/users/AurelienLourot/followers","following_url":"https://api.github.com/users/AurelienLourot/following{/other_user}","gists_url":"https://api.github.com/users/AurelienLourot/gists{/gist_id}","starred_url":"https://api.github.com/users/AurelienLourot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AurelienLourot/subscriptions","organizations_url":"https://api.github.com/users/AurelienLourot/orgs","repos_url":"https://api.github.com/users/AurelienLourot/repos","events_url":"https://api.github.com/users/AurelienLourot/events{/privacy}","received_events_url":"https://api.github.com/users/AurelienLourot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-05T16:52:54Z","updated_at":"2015-11-05T21:50:25Z","closed_at":"2015-11-05T17:06:54Z","body":"I'm not a Java developer so sorry if this is a stupid question.\r\n\r\nFolder layout:\r\n\r\n```\r\nartifactory-client-java-example/\r\n    artifactory-java-client-api-1.0.0.jar\r\n    artifactory-java-client-ning-services-1.0.0.jar\r\n    artifactory-java-client-services-1.0.0.jar\r\n    Example.java\r\n```\r\n\r\n`Example.java`:\r\n\r\n```\r\nimport org.jfrog.artifactory.client.Artifactory;\r\nimport org.jfrog.artifactory.client.ArtifactoryClient;\r\n\r\npublic class Example {\r\n    public static void main(String[] args) {\r\n        Artifactory af = ArtifactoryClient.create(\"https://my_url/artifactory\", \"admin\", \"admin\");\r\n    }\r\n}\r\n```\r\n\r\nError:\r\n\r\n```\r\n$ javac -classpath \"./*\" Example.java\r\n$ java Example\r\nException in thread \"main\" java.lang.NoClassDefFoundError: org/jfrog/artifactory/client/ArtifactoryClient\r\n\tat Example.main(Example.java:6)\r\nCaused by: java.lang.ClassNotFoundException: org.jfrog.artifactory.client.ArtifactoryClient\r\n[...]\r\n```\r\n\r\nWhat am I doing wrong? Is there an example somewhere of how to use this package? Thanks!"},"comment":{"url":"https://api.github.com/repos/JFrogDev/artifactory-client-java/issues/comments/154203958","html_url":"https://github.com/JFrogDev/artifactory-client-java/issues/66#issuecomment-154203958","issue_url":"https://api.github.com/repos/JFrogDev/artifactory-client-java/issues/66","id":154203958,"user":{"login":"AurelienLourot","id":11795312,"avatar_url":"https://avatars.githubusercontent.com/u/11795312?v=3","gravatar_id":"","url":"https://api.github.com/users/AurelienLourot","html_url":"https://github.com/AurelienLourot","followers_url":"https://api.github.com/users/AurelienLourot/followers","following_url":"https://api.github.com/users/AurelienLourot/following{/other_user}","gists_url":"https://api.github.com/users/AurelienLourot/gists{/gist_id}","starred_url":"https://api.github.com/users/AurelienLourot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AurelienLourot/subscriptions","organizations_url":"https://api.github.com/users/AurelienLourot/orgs","repos_url":"https://api.github.com/users/AurelienLourot/repos","events_url":"https://api.github.com/users/AurelienLourot/events{/privacy}","received_events_url":"https://api.github.com/users/AurelienLourot/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T21:50:25Z","updated_at":"2015-11-05T21:50:25Z","body":"I've now created an example at https://github.com/tt-gf/artifactory-client-java-example"}}