[jb@fixe retrace]$ zanata-cli pull --pull-type both
[INFO] Loading project config from zanata.xml
[INFO] Loading user config from /home/jb/.config/zanata.ini
[INFO] client API version: 3.9.1, server API version: 3.9.1
Exception in thread "main" java.lang.NoClassDefFoundError: org/zanata/rest/service/StatisticsResource
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.zanata.rest.client.RestClientFactory.getStatisticsClient(RestClientFactory.java:254)
at org.zanata.client.commands.PushPullCommand.<init>(PushPullCommand.java:93)
at org.zanata.client.commands.PushPullCommand.<init>(PushPullCommand.java:97)
at org.zanata.client.commands.pull.PullCommand.<init>(PullCommand.java:62)
at org.zanata.client.commands.pull.PullOptionsImpl.initCommand(PullOptionsImpl.java:61)
at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:47)
at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:170)
at org.zanata.client.ZanataClient.main(ZanataClient.java:95)
Caused by: java.lang.ClassNotFoundException: org.zanata.rest.service.StatisticsResource
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 20 more
ABRT problem creation: 'success'
[jb@fixe retrace]$ zanata-cli --version
zanata-cli
Client version: 3.9.1
Client timestamp: 20160718-0654
Client SCM describe:
API version: 3.9.1
API timestamp: 20160623-0243
API SCM describe:
BZ#1355948 [abrt] zanata-client-3.8.4-1.fc24: Uncaught exception java.lang.NoClassDefFoundError in method org.zanata.client.ZanataClient.processArgs()
This update has been submitted for testing by dchen.
dchen edited this update.
This update has been pushed to testing.
zanata-cli init
andzanata-cli pull
works for me now. Thanks![jb@fixe retrace]$ zanata-cli pull --pull-type both [INFO] Loading project config from zanata.xml [INFO] Loading user config from /home/jb/.config/zanata.ini [INFO] client API version: 3.9.1, server API version: 3.9.1 Exception in thread "main" java.lang.NoClassDefFoundError: org/zanata/rest/service/StatisticsResource at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.zanata.rest.client.RestClientFactory.getStatisticsClient(RestClientFactory.java:254) at org.zanata.client.commands.PushPullCommand.<init>(PushPullCommand.java:93) at org.zanata.client.commands.PushPullCommand.<init>(PushPullCommand.java:97) at org.zanata.client.commands.pull.PullCommand.<init>(PullCommand.java:62) at org.zanata.client.commands.pull.PullOptionsImpl.initCommand(PullOptionsImpl.java:61) at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:47) at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:170) at org.zanata.client.ZanataClient.main(ZanataClient.java:95) Caused by: java.lang.ClassNotFoundException: org.zanata.rest.service.StatisticsResource at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 20 more ABRT problem creation: 'success' [jb@fixe retrace]$ zanata-cli --version zanata-cli Client version: 3.9.1 Client timestamp: 20160718-0654 Client SCM describe: API version: 3.9.1 API timestamp: 20160623-0243 API SCM describe:
btw : enunciate-core-annotations-1.27-7.fc24.noarch
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by dchen.
@jibecfed I think your zanata-api is at 3.9.1-1, which does not include required dependency, enunciate.
zanata-api-3.9.1-2 should have it.
I indeed use 3.9.1-1 witch is the only one for testing and it doesn't work. I do not understand why you push it to stable.
This update has been pushed to stable.
I confirm it works with zanata-api 3.9.1-2