<p dir="ltr">What operating system do you use? And what versions of RPM dependencies of SDK do you have?</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Dec 22, 2016 12:34 PM, &quot;TranceWorldLogic .&quot; &lt;<a href="mailto:tranceworldlogic@gmail.com">tranceworldlogic@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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.<wbr>Main - Error while executing the &quot;run&quot; method of tool class &quot;org.ovirt.sdk.java.Tool&quot;.<br>[INFO] java.lang.reflect.<wbr>InvocationTargetException<br>[INFO]     at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method)<br>[INFO]     at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62)<br>[INFO]     at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>[INFO]     at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>[INFO]     at org.ovirt.api.metamodel.tool.<wbr>Main.main(Main.java:74)<br>[INFO]     at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method)<br>[INFO]     at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62)<br>[INFO]     at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>[INFO]     at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>[INFO]     at org.codehaus.mojo.exec.<wbr>ExecJavaMojo$1.run(<wbr>ExecJavaMojo.java:297)<br>[INFO]     at java.lang.Thread.run(Thread.<wbr>java:745)<br>[INFO] Caused by: java.lang.NoSuchMethodError: org.apache.commons.cli.Option.<wbr>builder()Lorg/apache/commons/<wbr>cli/Option$Builder;<br>[INFO]     at org.ovirt.sdk.java.Tool.run(<wbr>Tool.java:71)<br>[INFO]     at org.ovirt.sdk.java.Tool$Proxy$<wbr>_$$_WeldClientProxy.run(<wbr>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">&lt;<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>&gt;</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>On 22 December 2016 at 11:21, TranceWorldLogic . <span dir="ltr">&lt;<a href="mailto:tranceworldlogic@gmail.com" target="_blank">tranceworldlogic@gmail.com</a>&gt;</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/ovirt<wbr>-engine-sdk-java/tree/master/<wbr>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/ovirt<wbr>-engine-sdk-java/tree/master/<wbr>sdk/src/test/java/org/ovirt/<wbr>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>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div></div>