What operating system do you use? And what versions of RPM dependencies of
SDK do you have?
On Dec 22, 2016 12:34 PM, "TranceWorldLogic ."
<tranceworldlogic(a)gmail.com>
wrote:
Hi,
I am getting below error logs
---------------
[INFO] ERROR org.ovirt.api.metamodel.tool.Main - Error while executing
the "run" method of tool class "org.ovirt.sdk.java.Tool".
[INFO] java.lang.reflect.InvocationTargetException
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] at org.ovirt.api.metamodel.tool.Main.main(Main.java:74)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
[INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(
ExecJavaMojo.java:297)
[INFO] at java.lang.Thread.run(Thread.java:745)
[INFO] Caused by: java.lang.NoSuchMethodError:
org.apache.commons.cli.Option.builder()Lorg/apache/commons/
cli/Option$Builder;
[INFO] at org.ovirt.sdk.java.Tool.run(Tool.java:71)
[INFO] at org.ovirt.sdk.java.Tool$Proxy$_$$_WeldClientProxy.run(Unknown
Source)
[INFO] ... 11 more
[INFO] Weld SE container STATIC_INSTANCE shut down by shutdown hook
-------------------------
Please let me know what is wrong I did.
Thanks,
~Rohit
On Thu, Dec 22, 2016 at 3:56 PM, Roy Golan <rgolan(a)redhat.com> wrote:
>
>
> On 22 December 2016 at 11:21, TranceWorldLogic . <
> tranceworldlogic(a)gmail.com> wrote:
>
>> Hi,
>>
>> I want to try Java SDK to see its usability.
>>
>> Can someone help me how to checkout code and compile Java SDK ?
>> or Install Java SDK ?
>>
>> I am using Eclipse-Java for IDE.
>>
>
>
> Start with the readme
https://github.com/oVirt/ovirt
> -engine-sdk-java/tree/master/sdk
> and check out the examples
https://github.com/oVirt/ovirt
> -engine-sdk-java/tree/master/sdk/src/test/java/org/ovirt/
> engine/sdk4/examples
>
>
>> Thanks,
>> ~Rohit
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users