<div dir="ltr"><div><div><div>Hi,<br><br></div>I am getting below error logs<br>---------------<br>[INFO] ERROR org.ovirt.api.metamodel.tool.Main - Error while executing the "run" method of tool class "org.ovirt.sdk.java.Tool".<br>[INFO] java.lang.reflect.InvocationTargetException<br>[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>[INFO] at java.lang.reflect.Method.invoke(Method.java:498)<br>[INFO] at org.ovirt.api.metamodel.tool.Main.main(Main.java:74)<br>[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>[INFO] at java.lang.reflect.Method.invoke(Method.java:498)<br>[INFO] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)<br>[INFO] at java.lang.Thread.run(Thread.java:745)<br>[INFO] Caused by: java.lang.NoSuchMethodError: org.apache.commons.cli.Option.builder()Lorg/apache/commons/cli/Option$Builder;<br>[INFO] at org.ovirt.sdk.java.Tool.run(Tool.java:71)<br>[INFO] at org.ovirt.sdk.java.Tool$Proxy$_$$_WeldClientProxy.run(Unknown Source)<br>[INFO] ... 11 more<br>[INFO] Weld SE container STATIC_INSTANCE shut down by shutdown hook<br>-------------------------<br><br></div><div>Please let me know what is wrong I did.<br></div><div><br></div>Thanks,<br></div>~Rohit</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 3:56 PM, Roy Golan <span dir="ltr"><<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 22 December 2016 at 11:21, TranceWorldLogic . <span dir="ltr"><<a href="mailto:tranceworldlogic@gmail.com" target="_blank">tranceworldlogic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>I want to try Java SDK to see its usability.<br><br></div>Can someone help me how to checkout code and compile Java SDK ?<br></div><div>or Install Java SDK ?<br><br></div><div>I am using Eclipse-Java for IDE.<br></div></div></blockquote><div><br></div><div><br></div></span><div>Start with the readme <a href="https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk" target="_blank">https://github.com/oVirt/<wbr>ovirt-engine-sdk-java/tree/<wbr>master/sdk</a><br></div><div>and check out the examples <a href="https://github.com/oVirt/ovirt-engine-sdk-java/tree/master/sdk/src/test/java/org/ovirt/engine/sdk4/examples" target="_blank">https://github.com/oVirt/<wbr>ovirt-engine-sdk-java/tree/<wbr>master/sdk/src/test/java/org/<wbr>ovirt/engine/sdk4/examples</a><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Thanks,<br></div><div>~Rohit<br></div><div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>